Author Topic: Group hide  (Read 2054 times)

WynApse

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 17
    • View Profile
Group hide
« 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

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6282
    • View Profile
Re: Group hide
« Reply #1 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

WynApse

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: Group hide
« Reply #2 on: November 07, 2019, 08:24:06 pm »
Perfect!

Thank You!