| Package: | Ext.data |
| Class: | DataProxy |
| Extends: | Object |
| Defined In: | DataProxy.js |
DataProxy implementations are usually used in conjunction with an implementation of Ext.data.DataReader (of the approriate type which knows how to parse the data object) to provide a block of Records to an Ext.data.Store.
Custom implementations must implement the load method as described in Ext.data.HttpProxy.load.
| 事件 | 定义对象 | |
|---|---|---|
beforeload : (Object params) |
DataProxy | |
| Fires before a network request is made to retrieve a data object. | ||
load : (Object o, Object arg) |
DataProxy | |
| Fires before the load method's callback is called. | ||
loadexception : (Object o, Object arg, Object e) |
DataProxy | |
| Fires if an Exception occurs during data retrieval. | ||
public event beforeload
params : Objectpublic event load
o : Objectarg : Objectpublic event loadexception
o : Objectarg : Objecte : Object