Datatables with Pre-Filter Form

Datatables with Pre-Filter Form

acidburn78acidburn78 Posts: 10Questions: 6Answers: 0

Is it possible to use an html or php Form to Pre-Filter the result in Datatables?

What i see in the Examples is this http://www.datatables.net/examples/api/regex.html

But the Table is displayed

My intention ist that i have a html-Form with the Search and only when i click on a Button the filtered Table should be displayed
Is this possible?

Because of the large Db i have, i would like to use Server-Side Processing

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 64,069Questions: 1Answers: 10,563 Site admin
    Answer ✓

    Sure - use the search and searchCols to define an initial search to be applied to the table. Or initialise your table hidden and then use the API to apply the search.

    Allan

This discussion has been closed.