Class type Ext_data_proxy_Proxy.configs


class type configs = object .. end
Inherits
method batchActions : bool Js.t Js.prop

True to batch actions of a particular type when synchronizing the store. Defaults to true.

Defaults to: true

method batchOrder : Js.js_string Js.t Js.prop

Comma-separated ordering 'create', 'update' and 'destroy' actions when batching. Override this to set a different order for the batched CRUD actions to be executed in. Defaults to 'create,update,destroy'.

Defaults to: 'create,update,destroy'

method model : 'a. 'a Js.t Js.prop

The name of the Model to tie to this Proxy. Can be either the string name of the Model, or a reference to the Model constructor. Required.


method reader : 'b. 'b Js.t Js.prop

The Ext.data.reader.Reader to use to decode the server's response or data read from client. This can either be a Reader instance, a config object or just a valid Reader type name (e.g. 'json', 'xml').


method writer : 'c. 'c Js.t Js.prop

The Ext.data.writer.Writer to use to encode any request sent to the server or saved to client. This can either be a Writer instance, a config object or just a valid Writer type name (e.g. 'json', 'xml').