pre-fill search/filter with get or post parameter
pre-fill search/filter with get or post parameter
crush123
Posts: 417Questions: 126Answers: 18
is it possible to load a datatables page and have the search/filter pre-filled with a parameter.
eg i am linking to the datatable page from another page and want to see specific rows (only) returned
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Yes, you need to use the initialisation options to do this. For example
search
andorder
. You would need to parse the query string (or whatever part of the URL you want to use) and set the initialisation up accordingly.Allan
perfect !
Thanks