Home › Forums › Guriddo jqGrid JS › Help › Automatic Searching on Many Fields
Hi!
How can I
Hello,
Currently not supported, but you can attach a keydown event when the search is constructed. Every search field on serch form has a id = sg_ + the name from colModel
Regards
Tony
Hi Tony,
I don't know what you mean when you post: …when the search is constructed. Where can I attach a keydown event? Colud you give me an example?.
Thanks!.
I mean after you call the filterGrid. After calling this method you can do
$(“sg_myfieldfromcolModel”).keydown(function() {
// use triggerSearch to do the job
});
Ok,
It's just what
I try this on the new Integrated Search Toolbar.But it doesn't seem to work.
Autosearch option enables search on Enter.
All input have “gs_myfieldfromcolModel” id.But when i use :$(”gs_myfieldfromcolModel”).keydown(function() {
Maybe this is the right code:
$(”#gs_myfieldfromcolModel”).keydown(function() {
Stay connected with us in your favorite flavor!
Copyright 2014 TriRand LtdAll Rights ReservedRSS