To place a button for searching in the table .
To place a button for searching in the table .
alab
Posts: 2Questions: 0Answers: 0
I have a typical requirement when searching data dynamically in jQuery datatable.
Is it possible to bind the search field with a button? What I mean is I don't want to redraw the table based on each character input. I wish to first enter the data in the field and then search the table by clicking the button.(to make it easier for people who are not familiar with.)
I have temporarily disabled the input of the search, I want to begin the search when button is pressed after the newly provided for the search.
Please indicate if you know how to solve it if you.
If anyone of you has done something similar I'd be much obliged if you could assist.
Is it possible to bind the search field with a button? What I mean is I don't want to redraw the table based on each character input. I wish to first enter the data in the field and then search the table by clicking the button.(to make it easier for people who are not familiar with.)
I have temporarily disabled the input of the search, I want to begin the search when button is pressed after the newly provided for the search.
Please indicate if you know how to solve it if you.
If anyone of you has done something similar I'd be much obliged if you could assist.
This discussion has been closed.
Replies
An alternative is just to create your text input and button normally and bind a call to fnFilter on to the button.
Allan
I really appreciate to your advice.
Thank a lot , Mr.Allan.