0
votes

Is it possible in ExtJs 4.1 to use TreePanel with grouping feature? Since in this case i have to use TreeStore, which doesn't contain "groupField" property, instead of regular Ext.Data.Store, i just have no idea how to enable grouping.

1
Why you want a grouping feature since a treepanel is basically a gridpanel with a build-in grouping feature? - Tyr
Because i already have threepanel with its folder style grouping, but i also need different style grouping, that provides Ext.grid.feature.Grouping. But, im afraid, it is too much to ask - Baychurin Anton
Hi Baychurin..did you succeed in enabling grouping for tree store? - Harajyoti Das

1 Answers

0
votes

Try configuring tableview's store:

tree.getView().getStore().group([{property: 'groupField'}])

Add this for example to afterrendel listener of your tree. Also you should enable grouping feature on this tree panel as usual.