jckdnk111
jckdnk111

Reputation: 2368

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 advanced search query dialog to give users the options of saving / loading a query.

Any advice would be appreciated.

Upvotes: 1

Views: 865

Answers (1)

Justin Ethier
Justin Ethier

Reputation: 134167

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.

Upvotes: 3

Related Questions