How to search in the columns from one search box.

How to search in the columns from one search box.

parishparish Posts: 1Questions: 0Answers: 0
edited August 2012 in General
Hi All,

I have this data table in my project, which is created by someone else in past. Now earlier the search filter was search through the ID column(I think that is default), now I want to search from different column. how I can do that. I am very new to the this thing. Any help would be really appreciate.

thanks

Replies

  • RobMRobM Posts: 5Questions: 0Answers: 0
    Looks like you can use the fnFilter() API to search only a specific column. Otherwise the default sorting method DataTables uses is global. It will/should search each row/column.

    http://datatables.net/examples/api/multi_filter.html
This discussion has been closed.