Get filter info from other controls and press button to start.
Get filter info from other controls and press button to start.
Hello Allan,
Using various examples, I have got datatables work using server side processing.
On the AjaxHandler on the server I can read what a user typed into the Search textbox by reading the contents of sSearch.
I can do the appropriate filtering, pass back the results and the correct records are displayed.
Everything is fine so far. However there are two major things wrong with this scenario.
Firstly, the server is called every time the user enters a character which is not practical.
Second, this system works fine for extremely simple filtering but I want to be able to gather the required filter requirements from several selects, radio buttons and text boxes.
When the user has completed entering data into all these filter controls, I would like hime to be able to press a button to start the search.
(I thought I might be able to somehow programmatically enter a filter string into the text box so I could use sSearch on the server to create the filter, but I that is probably not the best way)
I am sure DataTables provides a way of implementing the above scenario as searching your site has given me the impression that it is a very common requirement, hower I am unable to work out how to do it.
It would be great if you could point me in the right direction, or even better, show me an example.
I am hoping that I have explained everything clearly, but if not, I will try very hard to be more clear,
Many many thanks
Using various examples, I have got datatables work using server side processing.
On the AjaxHandler on the server I can read what a user typed into the Search textbox by reading the contents of sSearch.
I can do the appropriate filtering, pass back the results and the correct records are displayed.
Everything is fine so far. However there are two major things wrong with this scenario.
Firstly, the server is called every time the user enters a character which is not practical.
Second, this system works fine for extremely simple filtering but I want to be able to gather the required filter requirements from several selects, radio buttons and text boxes.
When the user has completed entering data into all these filter controls, I would like hime to be able to press a button to start the search.
(I thought I might be able to somehow programmatically enter a filter string into the text box so I could use sSearch on the server to create the filter, but I that is probably not the best way)
I am sure DataTables provides a way of implementing the above scenario as searching your site has given me the impression that it is a very common requirement, hower I am unable to work out how to do it.
It would be great if you could point me in the right direction, or even better, show me an example.
I am hoping that I have explained everything clearly, but if not, I will try very hard to be more clear,
Many many thanks
This discussion has been closed.