Datatables - Search from dedicated search page
Datatables - Search from dedicated search page
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
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
This discussion has been closed.
Replies
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