Filtering data from outside of DataTable

Filtering data from outside of DataTable

sjw01sjw01 Posts: 67Questions: 36Answers: 1
edited July 2021 in Free community support

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

Answers

  • kthorngrenkthorngren Posts: 20,269Questions: 26Answers: 4,765
    Answer ✓

    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

Sign In or Register to comment.