DT 1.10 - Button and search
DT 1.10 - Button and search
deliator
Posts: 95Questions: 1Answers: 0
Hello,
In this example i need to put the data attribute of the button with the testBtn class in the search field of the table
http://live.datatables.net/kesezuvu/3/
How can i do this ?
regards,
marc
This discussion has been closed.
Replies
Hi marc,
Use the
search()
method to apply a search term to the table - e.g. in this case:Allan
Thanks Allan, as usual you are the mirror of efficiency :-)
One question, if I want the search to be done on a specific column ? e.g. in my case the second column ... ?
http://live.datatables.net/kesezuvu/6/
Ok, answer to myself ...
oTable.columns( 3 ).search( id ).draw();
;-)