-
16 Feb 2012 11:32 AM #1
Grouped Broken in Build 286
Grouped Broken in Build 286
It looks like upgrading to Build 286 has broken the "grouped" feature for lists. I go into my Store and it used to have:
group
groupDir
groupField
Now "group" is gone. I cannot add "group" because it requires a function. The only way I can successfully get grouped to work is after instantiation, I add:
Code:self.getAuditList().setGrouped(true); self.getAuditList().getStore().setGrouper(function(record){ console.log(record.data.date); if (record && record.data.date) { return record.get('date').toDateString(); } else { return ''; } });
-
16 Feb 2012 4:07 PM #2
I'm guessing you mean "grouper" instead of "group", as I don't recall there being a "group" property.
In build 286 we have enhanced the configuration of groupers so that a Grouper is a separate toolbox item, which you can add by dragging it onto a Store. It can then have its properties edited using the config editor for convenience. If you want to supply a custom function like you used to, simply put it in the groupFn config on the Grouper instance.Jason Johnston
@lojjic
Sencha Architect Development Team
Looks like we can't reproduce the issue or there's a problem in the test case provided.


Reply With Quote