Reputation: 187
I need help 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?
Upvotes: 0
Views: 1004
Reputation: 221997
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.
Upvotes: 1