ParamQuery grid support forum

General Category => Bug Report => Topic started by: queensgambit9 on November 14, 2016, 09:03:24 pm

Title: saveState and columnSelector
Post by: queensgambit9 on November 14, 2016, 09:03:24 pm
Hi

Is there any update on this?

http://paramquery.com/forum/index.php?topic=1610.0

Thanks.
Title: Re: saveState and columnSelector
Post by: queensgambit9 on December 22, 2016, 06:02:14 pm
It now seems to work (3.3.4) if a column has attribute hidden: false when loading the table.
However if a user hides the column with columnSelector and save it through saveState, after loadState the checkbox in columnSelector is still checked even though column is now hidden...

Also if a column has attribute hidden: true when loading the table, the saveState does NOT save the columnSelector changes (show column) to the column (checkbox will unchecked and column hidden) after loadState.

Is there a fix for this?

Thanks.
Title: Re: saveState and columnSelector
Post by: paramvir on December 23, 2016, 02:42:33 pm
Use of complete event instead of create event to initialize pqSelect ought to fix this.
Title: Re: saveState and columnSelector
Post by: queensgambit9 on December 27, 2016, 05:33:45 pm
Ok. Could you please provide an example how this could look like?
Thanks.
Title: Re: saveState and columnSelector
Post by: paramvir on December 28, 2016, 04:04:00 pm
I'm creating an example for you..
Title: Re: saveState and columnSelector
Post by: paramvir on January 11, 2017, 08:37:32 pm
Please check this example: http://paramquery.com/pro/demos/grid_state_cols