{
"listeners": {
"|render": "function() \n{\n _this.grid = this; \n //_this.dialog = Pman.Dialog.FILL_IN\n if (_this.ppanel.active) {\n this.footer.onClick('first');\n }\n}",
- "|rowdblclick": "function (_self, rowIndex, e)\n{\n var r = _this.grid.ds.getAt(rowIndex);\n \n Pman.Dialog.XtuplePurchaseOrder.show( { pohead_id : r.data.pohead_id }, function() {\n _this.grid.footer.onClick('refresh');\n }); \n}\n",
"cellclick": "function (_self, rowIndex, columnIndex, e)\n{\n var di = _this.grid.getColumnModel().getDataIndex(columnIndex);\n if(di == 'pohead_vouchered' || di == 'pohead_paid'){\n return;\n }\n _this.rggrid.ds.load({});\n}",
"celldblclick": "function (_self, rowIndex, columnIndex, e)\n{\n var di = _this.grid.getColumnModel().getDataIndex(columnIndex);\n if(di == 'pohead_vouchered' || di == 'pohead_paid'){\n return;\n }\n \n var r = _this.grid.ds.getAt(rowIndex);\n \n Pman.Dialog.XtuplePurchaseOrder.show( { pohead_id : r.data.pohead_id }, function() {\n _this.grid.footer.onClick('refresh');\n }); \n}"
},
this.footer.onClick('first');
}
},
- rowdblclick : function (_self, rowIndex, e)
- {
- var r = _this.grid.ds.getAt(rowIndex);
-
- Pman.Dialog.XtuplePurchaseOrder.show( { pohead_id : r.data.pohead_id }, function() {
- _this.grid.footer.onClick('refresh');
- });
- },
cellclick : function (_self, rowIndex, columnIndex, e)
{
var di = _this.grid.getColumnModel().getDataIndex(columnIndex);