Pman.Tab.XtupleCurrency.js
"|xns": "Roo.grid",
"items": [
{
+ "listeners": {
+ "beforeload": "function (_self, options)\n{\n var s = _this.grid.selModel.getSelected();\n if (!s) { \n this.removeAll();\n return false;\n }\n options.parms.curr_id = s.data.curr_id;\n}"
+ },
"*prop": "dataSource",
- "xtype": "Store",
"remoteSort": true,
+ "xtype": "Store",
"|sortInfo": "{ field : '', direction: 'ASC' }",
"|xns": "Roo.data",
"items": [
dataSource : {
xtype: 'Store',
xns: Roo.data,
+ listeners : {
+ beforeload : function (_self, options)
+ {
+ var s = _this.grid.selModel.getSelected();
+ if (!s) {
+ this.removeAll();
+ return false;
+ }
+ options.parms.curr_id = s.data.curr_id;
+ }
+ },
remoteSort : true,
sortInfo : { field : '', direction: 'ASC' },
proxy : {