BaseDataSet
super: Object
This class is reserved and cannot be directly instantiated.
Events
-
DidStart() Event raised when DataSet started retrieving data.
-
NewValue(value: Object) Event raised when a new value becomes available.
-
DidFinish() Event raised when DataSet finished retrieving data.
-
DidFail() Event raised in case of DataSet error.
Properties
-
var treeData: Bool Used to check if DataSet is representing complex hierarchical data. (read-only)
-
var value: Object Used to retrieve current DataSet value. (read-only)
-
var serverError: Object Original raw error value received from the server. (read-only)
-
var running: Bool Used to check if DataSet is running. (read-only)
-
var cancelled: Bool Used to check if DataSet has been cancelled. (read-only)
-
var error: String Last Error message. (read-only)
-
var objectName: String The name of the object.
Methods
-
func run() Start current DataSet.
-
func stop() Stop current DataSet.
-
func valueForKeyPath(baseKeyPath: String, row: Int, keyPath: String): Object Retrieve DataSet value based on combination of key path.
-
func valueForIndex(row: Int, column: Int): Object Retrieve DataSet value based on row/column indexes.