Print Friendly

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 appropriate type which knows how to parse the data object) to provide a block of Ext.data.Records to an Ext.data.Store.

Custom implementations must implement the load method as described in Ext.data.HttpProxy.load.


Properties   -  Methods   -  Events

Public Properties

This class has no public properties.

Public Methods

This class has no public methods.

Public Events

Event Defined By
  beforeload : ( Object This, Object params ) DataProxy
Fires before a network request is made to retrieve a data object.
  load : ( Object This, Object o, Object arg ) DataProxy
Fires before the load method's callback is called.
  loadexception : ( Object This, Object o, Object arg, Object e ) DataProxy
Fires if an Exception occurs during data retrieval.

Event Details

beforeload

public event beforeload
Fires before a network request is made to retrieve a data object.
Subscribers will be called with the following parameters:
  • This : Object
    DataProxy object.
  • 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:
  • This : Object
    DataProxy object.
  • 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:
  • This : Object
    DataProxy object.
  • 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.