X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/530ef4b6c5b943cfa68b779d11cf7de29aa878bf..6b044c28b5f26fb99c86c237ffad19741c0f7f3d:/docs/output/Ext.data.DataProxy.html?ds=sidebyside diff --git a/docs/output/Ext.data.DataProxy.html b/docs/output/Ext.data.DataProxy.html index e218121c..4623da1c 100644 --- a/docs/output/Ext.data.DataProxy.html +++ b/docs/output/Ext.data.DataProxy.html @@ -1,4 +1,5 @@ -
Properties Methods Events Config Options Direct Link
Observable
  DataProxy

Class Ext.data.DataProxy

Package:Ext.data
Defined In:DataProxy.js
Class:DataProxy
Subclasses:DirectProxy, HttpProxy, MemoryProxy, ScriptTagProxy
Extends:Observable

Abstract base class for implementations which provide retrieval of unformatted data objects. +

Observable
+  DataProxy

Class Ext.data.DataProxy

Package:Ext.data
Defined In:DataProxy.js
Class:DataProxy
Subclasses:DirectProxy, HttpProxy, MemoryProxy, ScriptTagProxy
Extends:Observable

Abstract base class for implementations which provide retrieval of unformatted data objects. This class is intended to be extended and should not be created directly. For existing implementations, see Ext.data.DirectProxy, Ext.data.HttpProxy, Ext.data.ScriptTagProxy and Ext.data.MemoryProxy.

@@ -39,7 +40,7 @@ Ext.data.DataProxy.on('write', function(proxy, action, data, res }); // Listen to "exception" event fired by all proxies -Ext.data.DataProxy.on('exception', function(proxy, type, action) { +Ext.data.DataProxy.on('exception', function(proxy, type, action, exception) { console.error(type + action + ' exception); }); Note: These three events are all fired with the signature of the corresponding DataProxy instance event beforewrite, write and exception.

Config Options

Config OptionsDefined By
\ No newline at end of file +DataProxies by attaching a listener to the Ext.data.DataProxy class itself.

Listeners will be called with the following arguments:
  • this : DataProxy
    The proxy that sent the request
  • action : String
    [Ext.data.Api.actions.create|upate|destroy]
  • data : Object
    The data object extracted from the server-response
  • response : Object
    The decoded response from server
  • rs : Record/Record[]
    The Record(s) from Store
  • options : Object
    The callback's options property as passed to the request function
DataProxy \ No newline at end of file