"listeners": {
"|render": "function() \n{\n _this.grid = this; \n //_this.dialog = Pman.Dialog.FILL_IN\n if (_this.panel.active) {\n this.footer.onClick('first');\n }\n}",
"afteredit": "function (e)\n{\n e.record.commit(); \n}",
- "cellclick": "function (_self, rowIndex, columnIndex, e)\n{\n var di = this.colModel.getDataIndex(columnIndex);\n var rec = _this.grid.ds.getAt(rowIndex);\n \n if(di == 'name' && rec.data.is_system_enum*1 == 1){\n return;\n }\n \n if (di != 'active') {\n return;\n }\n \n \n \n \n \n rec.set('active', rec.data.active ? 0 : 1);\n rec.commit();\n \n \n}"
+ "cellclick": "function (_self, rowIndex, columnIndex, e)\n{\n var di = this.colModel.getDataIndex(columnIndex);\n var rec = _this.grid.ds.getAt(rowIndex);\n \n if(di == 'name' && rec.data.is_system_enum*1 == 1){\n return;\n }\n \n if (di == 'active') {\n rec.set('active', rec.data.active ? 0 : 1);\n rec.commit();\n return;\n }\n \n \n \n \n \n \n \n \n}"
},
"*prop": "grid",
"autoExpandColumn": "display_name",