Search/filter in Datatables 2 doesn't use TableId + "_filter" naming for the search div
Search/filter in Datatables 2 doesn't use TableId + "_filter" naming for the search div
paulMN
Posts: 1Questions: 1Answers: 0
I would like to upgrade to Datatables 2 but found that the search feature isn't using the default TableId + "filter" to create a custom search/filter. Is there something that I need to do to retain that functionality?
Answers
The HTML structure for laying out the Datatables elements has changed. You can use this example and insepct the desired element. For example:
Using
$('.dt-search', '#example_wrapper')
will find thediv
containing the search input.Kevin