Pman.Tab.AdminWatches.bjs
Pman.Tab.AdminWatches.js
Pman.Tab.AdminWatches.js
"|xns": "Roo.grid",
"items": [
{
+ "listeners": {
+ "beforeload": "function (_self, options)\n{\n var val = _this.affectSel.getValue();\n if (val.length) {\n options.params.ontable = val;\n }\n \n}"
+ },
"*prop": "dataSource",
- "xtype": "Store",
"remoteSort": true,
+ "xtype": "Store",
"|sortInfo": "{ field : 'ontable', direction: 'ASC' }",
"|xns": "Roo.data",
"items": [
dataSource : {
xtype: 'Store',
xns: Roo.data,
+ listeners : {
+ beforeload : function (_self, options)
+ {
+ var val = _this.affectSel.getValue();
+ if (val.length) {
+ options.params.ontable = val;
+ }
+
+ }
+ },
remoteSort : true,
sortInfo : { field : 'ontable', direction: 'ASC' },
proxy : {