ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: WynApse on November 06, 2019, 11:36:08 pm

Title: Group hide
Post by: WynApse on November 06, 2019, 11:36:08 pm
I'm trying to hide grouping in one grid from an action external to that grid, which is different from the example here:

https://paramquery.com/pro/demos/group_rows

I've uploaded a jsfiddle to demonstrate what I'm trying -- that isn't working. The upper grid has 2 columns, one is grouped. The middle grid has a toobar button labelled "Test" that calls a function "testColumns". I've tried all sorts of ways to get that to work, and need help.

https://jsfiddle.net/1mrLdwq5/1/

Thanks!

-Dave
Title: Re: Group hide
Post by: paramvir on November 07, 2019, 06:38:53 am
Dave

Please use below to turn off row grouping in first grid.

Code: [Select]
$gridProj.pqGrid("Group").option({ on: false });

https://jsfiddle.net/shgn64Lf/

https://paramquery.com/pro/api#method-Group
Title: Re: Group hide
Post by: WynApse on November 07, 2019, 08:24:06 pm
Perfect!

Thank You!