Filtering data from outside of DataTable
Filtering data from outside of DataTable
sjw01
Posts: 67Questions: 36Answers: 1
http://live.datatables.net/memajidi/1/edit
I have a DataTable with Data filters in the header row to quickly filter data based on an example in the examples pages.
Would it be possible to create filters outside of the table (Above the table) which works in the same manner but is actually outside the structure and table API?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
The filters are standard HTML select inputs. You can place them anywhere you like. Here is a very simple example appending all the select inputs to a
div
. You can make this more custom to your requirements.http://live.datatables.net/memajidi/82/edit
Kevin