开发者

JqGrid add button to advanced search dialog

开发者 https://www.devze.com 2023-01-15 19:48 出处:网络
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开发者_如何学编程van

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

精彩评论

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