ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: Maxedy on February 27, 2014, 05:52:05 pm
-
Hi @Admin,
How we can know about current position of column in paramQuery . When we drag a column from one position to other how can we detect new position of column. Is there any solution to detect new position.
Thanks
-
May I know what you are trying to do so as to require current position of column.
use http://paramquery.com/pro/api#method-getColIndx when you know the dataIndx of the field.
-
Initially i know dataindx of column after drag it i am unable to find new position of column in console log or something. I just want to find changing dataindx of columns. Whenever i changing the position i want to show these changes in my console log.
Thanks
-
We want set previous view which we set in last time. So that's why we need Current position of column which i changed recently.
We want save these column position whenever open the page i want previous setting which i saved last time.
Please If You get then, Please show us some solution for that.
Thanks
-
When you reorder the columns, new order is saved in the colModel.
So save the whole colModel in a cookie when page unloads and load colModel from cookie when page loads.
http://paramquery.com/forum/index.php?topic=450