xns: Roo,
height : 400,
title : "Pulldown Options",
- width : 500,
+ width : 950,
items : [
{
xtype: 'GridPanel',
activate : function() {
_this.panel = this;
if (_this.grid) {
- _this.grid.footer.onClick('first');
+ // _this.grid.footer.onClick('first');
}
}
},
background : false,
- fitContainer : false,
- fitToframe : false,
+ fitContainer : true,
+ fitToframe : true,
region : 'center',
tableName : 'core_enum',
title : "Pulldown Options",
_this.grid = this;
//_this.dialog = Pman.Dialog.FILL_IN
if (_this.panel.active) {
- this.footer.onClick('first');
+ // this.footer.onClick('first');
}
},
afteredit : function (e)
pageSize : 25,
displayInfo : true,
displayMsg : "Displaying core_enum{0} - {1} of {2}",
- emptyMsg : "No core_enum found",
- items : [
- {
- xtype: 'Button',
- xns: Roo.Toolbar,
- listeners : {
- click : function (_self, e)
- {
- new Pman.Download({
- grid : _this.grid
- });
- Roo.MessageBox.alert("Downloading", "File is downloading");
- }
- },
- text : "Download"
- }
- ]
+ emptyMsg : "No core_enum found"
},
toolbar : {
xtype: 'Toolbar',
center : {
xtype: 'LayoutRegion',
xns: Roo
- }
+ },
+ buttons : [
+ {
+ xtype: 'Button',
+ xns: Roo,
+ text : "OK"
+ }
+ ]
});
}
};