ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: Sunny on July 24, 2015, 12:55:49 am
-
Hi admin,
We have a requirement, that users should able to hide/unhide columns, change column order, freeze/unfreeze column position and save the preferences the user has choosen. Can we able to save the grid state per user remotely in database, so that when user views grid next time the saved preference on grid have to be shown.
Thanks.
-
There is API for state maintenance in version 3, loadState & saveState. The string returned from call to saveState can be saved in database and same string could be passed to loadState after grid initialization to restore previous state.
http://paramquery.com/pro/api#method-saveState
http://paramquery.com/pro/api#method-loadState
http://paramquery.com/pro/demos/grid_state
-
Hi,
In my grid, user has option to freeze/unfreeze columns. So, while testing noticed Freeze/Unfreeze column position is not been saved via 'saveState' .
Can you please advice?
Thanks.
-
Currently this is the list of options saved in saveState, frozen rows/columns is not among them.
height, width, colModel, sortModel, pageModel, groupModel.
It has been included in the next version, thanks for your feedback.
-
Thank you. Appreciate if you can let me know when next version will be available, so that I can let my users know.
-
ETA for next version has been postponed to first week of Sept 2015 as we are adding cut paste, delete and many other Excel like useful features.