Individual column filters not working using Bootstrap 4
Individual column filters not working using Bootstrap 4
bbrindza
Posts: 316Questions: 73Answers: 1
Hello Gurus,
I can not get the individual column filters to show in my DataTable Editor script. I have done this many times in other DataTables scripts , however the only difference is this one is using Bootstrap 4 integration .
Here is the test case http://live.datatables.net/tunocuzu/4/edit
Answers
Did you check for console errors?
Yes , No errors
Actually your test case does have an error:
Adding
var tableID = 'WorkOrderTable';
fixes the error:http://live.datatables.net/tunocuzu/5/edit
But the filters are still not applied. You have this code to build the filters:
Your selector
thead tr#filterrow th:gt(0)
isn't finding anything so the loop is not executed. I suspect in the working version has two headers defined in the HTML and the secondtr
has theid
offilterrow
.Kevin