I am currently having trouble reloading a JSSO store with the new parameters. Here's my store:
newsletters = new Ext.data.JsonStore ({url: '/ newsletters /', root: 'result', field: ['id', 'body' recipients'], baseparm: {Command: 'Jason', from: date to, from: by date), auto-load: true}); dateTo and dateInitally are empty string ('') and the firebug / newsletter is checked with correct parameters.
Now do not have any of the following technical tasks:
Changing the values of dates and dates Since then, by calling newsletters. RELOAD () still with page parameter string empty Calls to be.
Calling Finally I have tried: It does not request / update newsletters again with updated parameters. Appreciate any advice! newsletters.reload
last option = newsletters . Unknown option; Ext.apply (last option. Param, {from: 'test1', from: 'test2'}); Newsletters.reload (lastOptions);
You can actually pass params object to load () method
< Pre> newsletters.load ({params: {from: 'test1', from: 'test2'}})
Comments
Post a Comment