At the moment my jQuery Datatable looks like this:
and I would like to have the History heading and the search bar on the same line.
I have implemented the heading and table like this:
<h2>History</h2>
<table class="table" id="history_tbl" style="width:100%">
<thead>
<tr>
...
</tr>
</thead>
<tbody>
@for (var i = 1; i < M.Count(); i++)
{
<tr>
...
</tr>
}
</tbody>
</table>
And the following specifications for the Datatable:
$("#history_tbl").DataTable({
"columns": [
{ searchable: false },
null,
{ searchable: false },
{ searchable: false },
{ searchable: false },
{ searchable: false },
{ searchable: false }
],
ordering: false,
paging: true,
lengthChange: false,
language: {
searchPlaceholder: "Search names",
search: ""
}
});
I've seen that I can change something by adding DOM, but I'm not quite sure what I need in my case.
I appreciate any help!

