Save Grouping State

I am using a grid that occasionally needs to be updated via a page reload call. Prior to reloading the page, I would like to save the group state (ie collapsed or un-collapsed) and the scroll position. My grid is grouping on a Column ID called “PMName” with a total of 8 different PMNames. Anyone got some code examples to write the grouping state (ie collapsed or un-collapsed) and scroll position to a cookie on the users computer to be retrieved and set at page reload?

Thanks!

I am only interested in the grouping state and VERTICAL scroll position.

Unfortunately it’s not available to save/load group states.

You may save/load the position of vertical scroll using the following code:

pos=mygrid.objBox.scrollTop // save the scroll posotion mygrid.objBox.scrollTop=pos // set the scroll position