Pman.Tab.XtuplePurchaseRecv.bjs
authorEdward <edward@roojs.com>
Wed, 4 Dec 2013 05:18:38 +0000 (13:18 +0800)
committerEdward <edward@roojs.com>
Wed, 4 Dec 2013 05:18:38 +0000 (13:18 +0800)
Pman.Tab.XtuplePurchaseRecv.js

Pman.Tab.XtuplePurchaseRecv.bjs
Pman.Tab.XtuplePurchaseRecv.js

index e20a646..96361a5 100644 (file)
@@ -46,7 +46,8 @@
                                     "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",
-                                        "rowclick": "function (_self, rowIndex, e)\n{\n    _this.rggrid.ds.load({});\n}"
+                                        "rowclick": "function (_self, rowIndex, e)\n{\n    _this.rggrid.ds.load({});\n}",
+                                        "cellclick": "function (_self, rowIndex, columnIndex, e)\n{\n\n}"
                                     },
                                     "*prop": "grid",
                                     "autoExpandColumn": "pohead_vend_id_vend_name",
index 8b4684f..de90a59 100644 (file)
@@ -64,6 +64,10 @@ Pman.Tab.XtuplePurchaseRecv = new Roo.XComponent({
                                 rowclick : function (_self, rowIndex, e)
                                 {
                                     _this.rggrid.ds.load({});
+                                },
+                                cellclick : function (_self, rowIndex, columnIndex, e)
+                                {
+                                
                                 }
                             },
                             autoExpandColumn : 'pohead_vend_id_vend_name',