class type configs =Inheritsobject
..end
method api : 'a. 'a Js.t Js.prop
Specific urls to call on CRUD action methods "create", "read", "update" and "destroy". Defaults to:
api: {
create : undefined,
read : undefined,
update : undefined,
destroy : undefined
}
The url is built based upon the action being executed [create|read|update|destroy] using the commensurate api property, or if undefined default to the configured Ext.data.Store.url.
For example:
api: {
create : '/controller/new',
read : '/controller/load',
update : '/controller/update',
destroy : '/controller/destroy_action'
}
If the specific URL for a given CRUD action is undefined, the CRUD action request will be directed to the configured url.
method cacheString : Js.js_string Js.t Js.prop
The name of the cache param added to the url when using noCache. Defaults to "_dc".
Defaults to: "_dc"
method directionParam : Js.js_string Js.t Js.prop
The name of the direction parameter to send in a request. This is only used when simpleSortMode is set to true.
Defaults to: "dir"
method extraParams : 'b. 'b Js.t Js.prop
Extra parameters that will be included on every request. Individual requests with params of the same name will override these params when they are in conflict.
method filterParam : Js.js_string Js.t Js.prop
The name of the 'filter' parameter to send in a request. Defaults to 'filter'. Set this to undefined if you don't want to send a filter parameter.
Defaults to: "filter"
method groupDirectionParam : Js.js_string Js.t Js.prop
The name of the direction parameter to send in a request. This is only used when simpleGroupMode is set to true.
Defaults to: "groupDir"
method groupParam : Js.js_string Js.t Js.prop
The name of the 'group' parameter to send in a request. Defaults to 'group'. Set this to undefined if you don't want to send a group parameter.
Defaults to: "group"
method idParam : Js.js_string Js.t Js.prop
The name of the parameter which carries the id of the entity being operated upon.
Defaults to: "id"
method limitParam : Js.js_string Js.t Js.prop
The name of the 'limit' parameter to send in a request. Defaults to 'limit'. Set this to undefined if you don't want to send a limit parameter.
Defaults to: "limit"
method noCache : bool Js.t Js.prop
Disable caching by adding a unique parameter name to the request. Set to false to allow caching. Defaults to true.
Defaults to: true
method pageParam : Js.js_string Js.t Js.prop
The name of the 'page' parameter to send in a request. Defaults to 'page'. Set this to undefined if you don't want to send a page parameter.
Defaults to: "page"
method simpleGroupMode : bool Js.t Js.prop
Enabling simpleGroupMode in conjunction with remoteGroup will only send one group property and a direction when a remote group is requested. The groupDirectionParam and groupParam will be sent with the property name and either 'ASC' or 'DESC'.
Defaults to: false
method simpleSortMode : bool Js.t Js.prop
Enabling simpleSortMode in conjunction with remoteSort will only send one sort property and a direction when a remote sort is requested. The directionParam and sortParam will be sent with the property name and either 'ASC' or 'DESC'.
Defaults to: false
method sortParam : Js.js_string Js.t Js.prop
The name of the 'sort' parameter to send in a request. Defaults to 'sort'. Set this to undefined if you don't want to send a sort parameter.
Defaults to: "sort"
method startParam : Js.js_string Js.t Js.prop
The name of the 'start' parameter to send in a request. Defaults to 'start'. Set this to undefined if you don't want to send a start parameter.
Defaults to: "start"
method timeout : Js.number Js.t Js.prop
The number of milliseconds to wait for a response. Defaults to 30000 milliseconds (30 seconds).
Defaults to: 30000
method url : Js.js_string Js.t Js.prop
The URL from which to request the data object.
method afterRequest : (< afterRequest : 'c; api : 'a. 'a Js.t Js.prop;
batchActions : bool Js.t Js.prop; batchOrder : Js.js_string Js.t Js.prop;
cacheString : Js.js_string Js.t Js.prop;
directionParam : Js.js_string Js.t Js.prop;
extraParams : 'b. 'b Js.t Js.prop;
filterParam : Js.js_string Js.t Js.prop;
groupDirectionParam : Js.js_string Js.t Js.prop;
groupParam : Js.js_string Js.t Js.prop;
idParam : Js.js_string Js.t Js.prop;
limitParam : Js.js_string Js.t Js.prop; listeners : 'd. 'd Js.t Js.prop;
model : 'e. 'e Js.t Js.prop; noCache : bool Js.t Js.prop;
pageParam : Js.js_string Js.t Js.prop; reader : 'f. 'f Js.t Js.prop;
simpleGroupMode : bool Js.t Js.prop; simpleSortMode : bool Js.t Js.prop;
sortParam : Js.js_string Js.t Js.prop;
startParam : Js.js_string Js.t Js.prop; timeout : Js.number Js.t Js.prop;
url : Js.js_string Js.t Js.prop; writer : 'g. 'g Js.t Js.prop; .. >
Js.t, Ext_data_Request.t Js.t -> bool Js.t -> unit)
Js.meth_callback Js.writeonly_prop as 'c
t.afterRequest