Pman.Dialog.XtupleJournalEntry.js
"|xns": "Roo.grid",
"items": [
{
+ "listeners": {
+ "beforeload": "function (_self, options)\n{\n this.removeAll();\n if (!_this.form.findField('gltrans_sequence').getValue()) {\n return false;\n }\n options.params.gltrans_sequence = _this.form.findField('gltrans_sequence').getValue();\n}"
+ },
"*prop": "dataSource",
- "xtype": "Store",
"remoteSort": true,
+ "xtype": "Store",
"|sortInfo": "{ field : 'gltrans_source', direction: 'ASC' }",
"|xns": "Roo.data",
"items": [
dataSource : {
xtype: 'Store',
xns: Roo.data,
+ listeners : {
+ beforeload : function (_self, options)
+ {
+ this.removeAll();
+ if (!_this.form.findField('gltrans_sequence').getValue()) {
+ return false;
+ }
+ options.params.gltrans_sequence = _this.form.findField('gltrans_sequence').getValue();
+ }
+ },
remoteSort : true,
sortInfo : { field : 'gltrans_source', direction: 'ASC' },
proxy : {