Copy Code code as follows:
Reload:function (options) {
This.load (Ext.applyif, options| | {}, this.lastoptions));
},
Copy Code code as follows:
Load:function (options) {
Options = Ext.apply ({}, Options);
This.storeoptions (options);
if (This.sortinfo && this.remotesort) {
var pn = This.paramnames;
Options.params = Ext.apply ({}, options.params);
Options.params[pn.sort] = This.sortInfo.field;
Options.params[pn.dir] = this.sortInfo.direction;
}
try {
return This.execute (' read ', null, options); <--NULL represents Rs. No RS for load actions.
catch (e) {
This.handleexception (e);
return false;
}
},
Store load () and reload ()
Load (Object options): Boolean
A configured reader format is used to load the record cache, and the specific requested task is completed by a configured proxy object.
Reload (Object options)
A format that is based on the reader of the parameters of the previous load operation, and again requests the proxy object to load (Reload) the record cache operation.
Load resubmit new parameter request data
Reload submit the last parameter request data
Refresh to use load, otherwise the last parameter will be requested again