JSFiddle - React, Tailwind, and code Playground
HTML
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://code.jquery.com/jquery-3.5.1.js"></script>
<link rel="stylesheet" href="https://cdn.datatables.net/1.11.3/css/dataTables.bootstrap.min.css">
<script src="https://cdn.datatables.net/1.11.3/js/jquery.dataTables.min.js"></script>
<script src="https://cdn.datatables.net/1.11.3/js/dataTables.bootstrap.min.js"></script>
<link rel="stylesheet" href="https://cdn.datatables.net/buttons/2.0.1/css/buttons.bootstrap.min.css">
<script src="https://cdn.datatables.net/buttons/2.0.1/js/dataTables.buttons.min.js"></script>
<script src="https://cdn.datatables.net/buttons/2.0.1/js/buttons.bootstrap.min.js"></script>
<link rel="stylesheet" href="https://cdn.datatables.net/searchbuilder/1.2.2/css/searchBuilder.bootstrap.min.css">
<script src="https://cdn.datatables.net/searchbuilder/1.2.2/js/dataTables.searchBuilder.min.js"></script>
<script src="https://cdn.datatables.net/searchbuilder/1.2.2/js/searchBuilder.bootstrap.min.js"></script>
<link rel="stylesheet" href="https://cdn.datatables.net/datetime/1.1.1/css/dataTables.dateTime.min.css">
<script src="https://cdn.datatables.net/datetime/1.1.1/js/dataTables.dateTime.min.js"></script>
<div class="panel panel-primary">
<div class="panel-heading"></div>
<div class="panel-body">
<table id="example" class="table table-striped table-bordered nowrap" style="width:100%">
<thead>
<tr>
<th>Name</th>
<th>Position</th>
<th>Office</th>
<th>Age</th>
<th>Start date</th>
<th>Salary</th>
</tr>
</thead>
<tbody>
<tr>
<td>Tiger Nixon</td>
<td>System Architect</td>
<td>Edinburgh</td>
<td>61</td>
<td>2011/04/25</td>
<td>$320,800</td>
</tr>
...
JavaScript
$(document).ready(function() {
var table = $('#example').DataTable( {
buttons:[
{
extend: 'searchBuilder',
config: {
depthLimit: 2
}
}
],
});
table.buttons().container().appendTo('#example_wrapper .col-sm-6:eq(0)');
$('.row:eq(0)').appendTo('.panel-heading');
$('.col-sm-6:eq(1)').html('<div style="margin: 0 !important;" class="input-group"><input type="search" class="form-control newSearchBox input-sm" placeholder="ძებნა..." autocomplete="off" aria-describedby="basic-addon2" data-val="true"> <span class="input-group-addon" id="basic-addon2"><i class="fas fa-search"></i></span></div>');
});