Home Page Search to Link to Filtered DataTable
Home Page Search to Link to Filtered DataTable

Hi all,
I'd like to know how I can create an extra page that will search my datatable then return a separate page with the datatable already filtered with the correct results.
Long story short, I already put in all the work on my datatable, presented it, and was told that the initial page should be ONLY a search box. I just want to keep everything I already have and create a new page to keep the additional work to a minimum.
I'm using MVC C#.NET and client-side datatables jquery, not sure if any of that matters. Thanks in advance.
This question has an accepted answers - jump to answer
Answers
You can use tabs or a hidden
div
and load the table normally. Create a text input and in the event handler for the input usesearch()
to search the table and show the tab or show the hiddendiv
. Here is a very simple example:http://live.datatables.net/tafigohu/1/edit
Kevin
Awesome! Thanks!