"|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\n var di = this.colModel.getDataIndex(columnIndex);\n if (di != 'active') {\n return;\n }\n \n var rec = _this.grid.ds.getAt(rowIndex);\n \n rec.set('active', rec.data.active ? 0 : 1);\n rec.commit();\n \n \n}",
- "beforeedit": "function (e)\n{\n\n}"
+ "beforeedit": "function (e)\n{\n var di = this.colModel.getDataIndex(columnIndex);\n var rec = _this.grid.ds.getAt(rowIndex);\n Roo.log(di)\n Roo.log(rec);\n if(di == 'name' && rec.data.is_system_enum*1 == 1){\n return;\n }\n}"
},
"*prop": "grid",
"autoExpandColumn": "display_name",
},
beforeedit : function (e)
{
-
+ var di = this.colModel.getDataIndex(columnIndex);
+ var rec = _this.grid.ds.getAt(rowIndex);
+ Roo.log(di)
+ Roo.log(rec);
+ if(di == 'name' && rec.data.is_system_enum*1 == 1){
+ return;
+ }
}
},
autoExpandColumn : 'display_name',