-
29 Apr 2012 1:13 AM #1
Collapse / Expand grouping feature in a grid
Collapse / Expand grouping feature in a grid
Hi,
in my application there's a center region which contains a grid with groupingFeature.
After showing this all Groups are collapsed. Now i would like to integrate a button in toolbar where user can collapse/expand all groups.
I found this post and used code from #2 but it doesn't work.
http://www.sencha.com/forum/showthread.php?143617-Grids-CollapseAllGroups-amp-ExpandAllGroups
FF shows this error:
view.el is undefined
Can anybody help?
-
30 Apr 2012 10:43 AM #2
Hi,
i found another link for my problem but it doesn't work.
http://www.fusioncube.net/index.php/...-with-checkbox
But in firefox console i see this message
view is null
view.el.query('.x-grid-group-hd').forEach(function(group) {
after using this line
Is there any solution for that?Code:myGrid.view.expandAllGroups();


Reply With Quote