this.panel = parentLayout.add(region, new Ext.GridPanel(this.grid ,
{ fitToframe: true,fitContainer: true, title: _this.title, id : _this.id, background: true})
);
+
this.grid.render();
-
+
+ Roo.log(['Groups', parentLayout, this.panel, this.grid]);
new Ext.dd.DropTarget(_this.grid.getView().mainBody, {
ddGroup : 'groupDD',
Ext.MessageBox.alert("Error", "You can not rename that group");
return;
}
- if (s.data.id < 1) {
+ if (s[0].data.id < 1) {
Ext.MessageBox.alert("Error", "You can not rename that group");
return;
}