打印版式

Class Ext.data.DataProxy

Package:Ext.data
Class:DataProxy
Extends:Object
Defined In:DataProxy.js
This class is an abstract base class for implementations which provide retrieval of unformatted data objects.

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.


属性   -  方法   -  事件

公共属性

此类没有公共属性。

公共方法

This class has no public methods.

公共事件

事件 定义对象
  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.

事件详情

beforeload

public event beforeload
Fires before a network request is made to retrieve a data object.
Subscribers will be called with the following parameters:
  • params : Object
    The params parameter to the load function.
This event is defined by DataProxy.

load

public event load
Fires before the load method's callback is called.
Subscribers will be called with the following parameters:
  • o : Object
    The data object.
  • arg : Object
    The callback argument object passed to the load function.
This event is defined by DataProxy.

loadexception

public event loadexception
Fires if an Exception occurs during data retrieval.
Subscribers will be called with the following parameters:
  • o : Object
    The data object.
  • arg : Object
    The callback argument object passed to the load function.
  • e : Object
    The Exception.
This event is defined by DataProxy.

Ext - Copyright © 2006-2007 Ext JS, LLC
All rights reserved.