OfflineData
methodsGets or sets the offline state of the data source.
Parameters:dataArray
Returns:Array
The array of data items that replace the current offline state of the data source.
—An array of JavaScript objects that represent the data items. Changed data items have a __state__ field attached. That field indicates the type of change: "create", "update", or "destroy". Unmodified data items do not have a __state__ field.