Search code examples
jqgrid

How to set jqGrid default to collapse


i have a working jqgrid table and I wanted the default table to collapse on load. I have checked the site's documentation but I couldn't find the option for this. The button is has a class ui-icon-circle-triangle-n.

many thanks.


Solution

  • I once did this by calling .click() on the collapse button after loading the table. Maybe not the most robust solution, but it worked for me.