开发者

JqGrid add button to advanced search dialog

I'd like to add the ability to save a complex query built up in the advanced search dialog.

Saving the generated SQL is no problem, but I'm not sure how to add buttons to the ad开发者_如何学编程vanced search query dialog to give users the options of saving / loading a query.

Any advice would be appreciated.


There is no way to do this directly using the jqGrid API. However, you could use one of the optional events such as afterShowSearch to define a function that will dynamically add such buttons.

I suggest using FireBug to help reverse-engineer exactly where to place the buttons.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜