View Full Version : Expand/Collapse Grouped grid rows on double-click

12 Jun 2013, 10:37 AM
I'm sure I saw this somewhere - but now I can't find it :((

I want to configure the grouping feature on a grid to expand or collapse the grid on a double click instead of a single.

Any tips?

13 Jun 2013, 10:44 PM
There's not a public option to choose to toggle collapse/expand on doubleclick instead of click.
You'd need to override the grouping feature's private method: afterViewRender.

In that method the listeners is added to toggle the collapse/expand on the grouping header's groupclick event (you could set that to groupdblclick).