Pman.Dialog.AdminEnumImages.js
"|xns": "Roo",
"items": [
{
- "*prop": "grid",
- "xtype": "Grid",
- "autoExpandColumn": "title",
- "loadMask": true,
"listeners": {
- "|render": "function() { \n _this.grid = this; \n //_this.dialog = Pman.Dialog.FILL_IN\n if (_this.panel.active) {\n this.footer.onClick('first');\n }\n}",
+ "|render": "function() { \n _this.grid = this; \n //_this.dialog = Pman.Dialog.FILL_IN\n //if (_this.panel.active) {\n // this.footer.onClick('first');\n //}\n}",
"|rowdblclick": "function (_self, rowIndex, e)\n{\n \n var s = _self.getDataSource().getAt(rowIndex);\n Pman.Dialog.PressReleaseImage.show(s.data, function() {\n _this.grid.footer.onClick('first');\n }); \n}"
},
+ "*prop": "grid",
+ "autoExpandColumn": "title",
+ "loadMask": true,
+ "xtype": "Grid",
"|xns": "Roo.grid",
"items": [
{
grid : {
xtype: 'Grid',
xns: Roo.grid,
- autoExpandColumn : 'title',
- loadMask : true,
listeners : {
render : function() {
_this.grid = this;
//_this.dialog = Pman.Dialog.FILL_IN
- if (_this.panel.active) {
- this.footer.onClick('first');
- }
+ //if (_this.panel.active) {
+ // this.footer.onClick('first');
+ //}
},
rowdblclick : function (_self, rowIndex, e)
{
});
}
},
+ autoExpandColumn : 'title',
+ loadMask : true,
dataSource : {
xtype: 'Store',
xns: Roo.data,