Datatables - Search from dedicated search page

Datatables - Search from dedicated search page

thanasisthanasis Posts: 11Questions: 0Answers: 0
edited May 2011 in General
Hello

I'm using DataTables and I would like to have a dedicated page named search.php in my CRUD application which will POST the user search string to the process.php file and forward him to a page which displays a table with the results.

Is this possible ?
Thanks

Replies

  • allanallan Posts: 63,522Questions: 1Answers: 10,473 Site admin
    Thread number 5000 - cool :-)

    You can use the oSearch property to do this ( http://datatables.net/usage/options#oSearch ) just write your POST value to the oSearch.sSearch property and DataTables will apply that as the initial filter.

    Allan
This discussion has been closed.