开发者

Adding filter buttons to a JQGrid Toolbar

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开发者_开发技巧.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜