Class type Ext_data_Operation.configs


class type configs = object .. end
Inherits
method action : Js.js_string Js.t Js.prop

The action being performed by this Operation. Should be one of 'create', 'read', 'update' or 'destroy'.


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

The batch that this Operation is a part of.


method callback : 'b. 'b Js.callback Js.prop

Function to execute when operation completed.


method filters : Ext_util_Filter.t Js.js_array Js.t Js.prop

Optional array of filter objects. Only applies to 'read' actions.


method groupers : Ext_util_Grouper.t Js.js_array Js.t Js.prop

Optional grouping configuration. Only applies to 'read' actions where grouping is desired.


method limit : Js.number Js.t Js.prop

The number of records to load. Used on 'read' actions when paging is being used.


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

Parameters to pass along with the request when performing the operation.


method scope : 'd. 'd Js.t Js.prop

Scope for the callback function.


method sorters : Ext_util_Sorter.t Js.js_array Js.t Js.prop

Optional array of sorter objects. Only applies to 'read' actions.


method start : Js.number Js.t Js.prop

The start index (offset), used in paging when running a 'read' action.


method synchronous : bool Js.t Js.prop

True if this Operation is to be executed synchronously. This property is inspected by a Batch to see if a series of Operations can be executed in parallel or not.

Defaults to: true