I'd like to add a button to the JQGrid Toolbar that would say something like [Show Inactive], and when clicked, filters the data within the grid to display according to my programatically created search criteria. Is this possible? Annoyingly, there's a "filter toolbar", which hampers Googling.
Asked
Active
Viewed 3,171 times
1 Answers
3
I hope you will find all answers in this, this and this answer. First of all you should add your custom button with respect of navButtonAdd. Then you should set the filter with respect of postData
and search:true
parameters of jqGrid and trigger reloadGrid
.
-
Please see [this question](http://stackoverflow.com/questions/6926537/live-integrated-search-toolbar-in-jqgrid) – AabinGunz Aug 03 '11 at 12:36