Pman.Tab.BAdminStaff.bjs
authorEdward <edward@roojs.com>
Thu, 9 Aug 2018 03:15:46 +0000 (11:15 +0800)
committerEdward <edward@roojs.com>
Thu, 9 Aug 2018 03:15:46 +0000 (11:15 +0800)
Pman.Tab.BAdminStaff.js

Pman.Tab.BAdminStaff.bjs
Pman.Tab.BAdminStaff.js

index 16f502d..9fb1f3e 100644 (file)
          "items" : [
           {
            "listeners" : {
-            "afterselectionchange" : "function (_self)\n{\n    if(_this.footerActiveBtn){\n        _this.footerActiveBtn.setActive(false);\n        _this.footerActiveBtn.fireEvent('toggle', _this.footerActiveBtn);\n    }\n    \n    if(_this.permission_grid){\n        _this.permission_grid.store.load({});\n    }\n    \n}"
+            "afterselectionchange" : "function (_self)\n{\n    if(_this.footerActiveBtn){\n        _this.footerActiveBtn.setActive(false);\n        _this.footerActiveBtn.fireEvent('toggle', _this.footerActiveBtn);\n    }\n    \n    if(_this.permission_grid){\n        _this.permission_grid.store.load({});\n    }\n    \n}",
+            "beforerowselect" : "function (_self, rowIndex, keepExisting)\n{\n    return false;\n}"
            },
            "Boolean singleSelect" : true,
            "xtype" : "RowSelectionModel",
index bb5af89..936459a 100644 (file)
@@ -1424,6 +1424,10 @@ Pman.Tab.BAdminStaff = new Roo.XComponent({
                   _this.permission_grid.store.load({});
               }
               
+          },
+         beforerowselect : function (_self, rowIndex, keepExisting)
+          {
+              return false;
           }
         },
         xns : Roo.bootstrap.Table,