PDA

View Full Version : [2.0a1][SOLVED] enableNoGroups broken (grid3 grouping)



J.C. Bize
3 Oct 2007, 4:23 PM
Hi,

Ext 2.0 Alpha 1, build 1080. Modify the Grid Grouping sample so that the view creation is now:


view: new Ext.grid.GroupingView({
forceFit:true,
enableNoGroups: false,
groupTextTpl: '{text} ({[values.rs.length]} {[values.rs.length > 1 ? "Items" : "Item"]})'
}),

When you click on any header's sorting/grouping arrow, the context menu is not shown and the following error is reported:


this.hmenu.items.get("showGroups") has no properties

line 30,625:

this.hmenu.items.get('showGroups').setChecked(!!field);

Let me know if you need any additional information.

Cheers,
JC

mystix
3 Oct 2007, 8:45 PM
adapter + browser?

jack.slocum
4 Oct 2007, 2:01 AM
Thanks, fixed in SVN.

J.C. Bize
4 Oct 2007, 10:25 AM
That was super fast, thanks!

Cheers,
JC