I have two grids. I have a combo on the toolbar of second grid. I select a row from the first grid which send me to the second grid. All the data loads fine. I click the toolbar dropdown arrow on the toolbar second grid and it loads the values correctly. I complete the work on the second grid and go back to the first grid. I select another row on the first grid and go to the second grid.
My problem: When I select the toolbar dropdown arrow on the second grid, the values are not loaded. Furthermore, the values are not reloaded on any subsequent attempts.
I've debugged the back-end program and it is being called and the data is being correctly supplied when the arrow is clicked. I've tried autoLoad:false and any number of other "googled" solutions. My guess is it's something simple, but I cannot figure it out.
Below is the code for the combo and the store. Any help would be appreciated.
});
My problem: When I select the toolbar dropdown arrow on the second grid, the values are not loaded. Furthermore, the values are not reloaded on any subsequent attempts.
I've debugged the back-end program and it is being called and the data is being correctly supplied when the arrow is clicked. I've tried autoLoad:false and any number of other "googled" solutions. My guess is it's something simple, but I cannot figure it out.
Below is the code for the combo and the store. Any help would be appreciated.
Code:
xtype: 'combo', id: 'DYXXRNID2', fieldLabel: 'Run ID', displayField: 'STDESC', triggerAction: 'all', valueField: 'STDESC', editable: false, store: dsDropDown05, mode: 'remote', width: 200, selectOnFocus: true
Code:
var dsDropDown05 = new Ext.data.JsonStore({ autoLoad: true, url: 'vvcall.pgm', remoteSort: true, root: 'DSROOT05', fields: [ 'DYXXRNID', 'DYXXRSBN', 'STDESC' ], listeners: { beforeload: function() { this.baseParams = { pgm: 'XXGR206', action: 'getDailyRuns', limit: 35, start: 0 }; } }
Comment