pre-fill search/filter with get or post parameter

pre-fill search/filter with get or post parameter

crush123crush123 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

Answers

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Answer ✓

    Yes, you need to use the initialisation options to do this. For example search and order. 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

  • crush123crush123 Posts: 417Questions: 126Answers: 18

    perfect !

    Thanks

This discussion has been closed.