Forum
My grid has a custom search area contining a single select control always appearing above the grid; when the search changes, of course, the data is refreshed. but the grid definition is not.
My grid definition contains another select box. The contents of this box depend on what was selected in the search option select.
When I change the search criterion, I want to change the option list for this second select box.
I think this can be done using the .aftersearch Function() event and an ajax call to get the list of options (as described in the examples).
The example shows how to update the select options on the edit form (once, when it is initiated) so it refers to (for example)
jQuery("#City",formid).append(t).
I don't want to call this every time the edit form is displayed, but once is not enough because the search criterion on the grid may have changed.
My question: can I update the returned values to the column in the colModel (and if so, how) or do I have to redefine the grid on every search?
Thanks,
Reg
Most Users Ever Online: 715
Currently Online:
69 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66