开发者

jqGrid NavBar custom HTML

I need h开发者_高级运维elp with jQuery jqGrid and subgrid. I am able to create a Subgrid inside my jqGrid succesfully. The next step is to add a custom option list in the main grid navbar somewhere so that depending on which option the user selects, a different kind of subgrid opens. Is it possible to add custom options to the jqGrid navigation bar?


The only standard way to add custom element in the navBar is to use navButtonAdd method which add a button.

If you want to add another custom HTML elements you have to do this manually with respect of some jQuery function like jQuery.append. I recommend you to read the code of navSeparatorAdd and navButtonAdd functions.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜