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

paulMNpaulMN 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

  • kthorngrenkthorngren Posts: 20,425Questions: 26Answers: 4,794

    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 the div containing the search input.

    Kevin

Sign In or Register to comment.