ParamQuery grid support forum
General Category => Help for ParamQuery Grid (free version) => Topic started by: wstewart on November 12, 2020, 05:06:59 am
-
Hi
Is there a function that returns the obj object that belongs to the grid.
The variable obj that was used to initialise seems to update most of the time ok
But occasionally it doesnt. So i was wondering if there is a function like
pqGrid. getObj() to make sure i am accessing the current version. I ve been experimenting
Dumping a json string representing obj.
Thanks.
-
It's available as grid.options where grid is js instance.
var grid = $grid.pqGrid('instance'), obj = grid.options;
-
Thanks - much better - I can restore. via JSON, all my data and headers etc and all I am now missing is the class information that I added to a particular cell.