PDA

View Full Version : groupBy() method



ne0vincent
6 Aug 2012, 6:13 AM
Hi,

mystore.groupBy() method seems to be removed from Ext 4.0

I just wan't to change dynamicaly the "groupField: " store params.

Is it stille possible ? thanks a lot ;)

r_sarvas
6 Aug 2012, 6:29 AM
I noticed the same thing on 4.0.7. Try using "group", i.e. MyStoreName.group(SomeFieldNameText) - that worked for me. I think the group method also supports an optional second parameter that describes the sorting direction, but I'm not 100% sure about that.