"listeners": {
"show": "function (_self)\n{\n var name_hidden = false;\n\n if (typeof(_this.data._hide_name) != 'undefined') {\n name_hidden = true;\n \n }\n \n _this.grid.colModel.setHidden(1,name_hidden);\n _this.grid.footer.onClick('first');\n}"
},
+ "closable": false,
"height": 400,
"modal": true,
+ "resizable": false,
"title": "Pulldown Options",
"width": 950,
"xtype": "LayoutDialog",
},
{
"listeners": {
- "click": "function (_self, e)\n{\n var sel = _this.grid.selModel.getSelectedCell();\n if (!sel) {\n Roo.MesssageBox.alert(\"Error\", \"Select an item\");\n return;\n }\n var rec = _this.grid.getAt(sel[0]);\n if (_this.callback) {\n _this.callback(rec.data);\n }\n _this.dialog.hide();\n}"
+ "click": "function (_self, e)\n{\n var sel = _this.grid.selModel.getSelectedCell();\n if (!sel && _this.callback) {\n Roo.MessageBox.alert(\"Error\", \"Select an item\");\n return;\n }\n \n\n if (_this.callback) {\n var rec = _this.grid.ds.getAt(sel[0]);\n _this.callback(rec.data);\n }\n _this.dialog.hide();\n}"
},
"*prop": "buttons[]",
"text": "OK",