Forum


15:12

05/06/2009

Hi,
First of all to say great plugin.
I am wondering if my filter/search requirements can be met.
[Image Can Not Be Found]
So, just to explain the above mockup. We have a list of statuses, which map to a status category. New/Pending = Initiated. Completed/Cancelled/Expired = Ended.
What I want to do is have it so that checking one of the checkboxes below the grid would automatically filter the grid by the child status associated with the status category. I.e. if I checked 'Initiated' only rows with a status of New and Pending should appear in the grid. (These checkboxes would be independent controls on the page).
So far, what I have seen of the search functionality is that the search is built into the grid itself, and that you have to select a column from a dropdown list in the search box and then type the search criteria.
I am wondering if I would be able to do with jqgrid? I have been able to achieve the above using the DataTables plugin, but I would prefer to use jqgrid if possible.
Any feedback would be greatly appreciated.
07:30

Moderators
30/10/2007

Hello,
You can attach a click event to the checkboxes and use setGridParam agin with trigger("reloadGrid") methods so that your server known what to do.
Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
Most Users Ever Online: 715
Currently Online:
96 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