Field Summary |
public
| autoload: Boolean |
| Should the source be automatically triggered when the source prop is set*
|
|
public
| data: Array |
|
|
|
public
| dateField: String |
|
|
|
public
| dateFormatString: String |
|
|
|
public static
| dateFormatter: DateFormat |
|
|
|
public
| numberField: String |
|
|
|
public
| reverse: Boolean |
|
|
|
|
Property Summary |
public
| length: Number (read-only)
|
| returns the length of the underlying array*
|
|
public
| source: Object (read, write) |
| The connector source control*
|
|
Constructor |
public
| TimeSeriesDataProvider (
)
|
| constructor *
|
|
Method Summary |
public
| addItem (
value: Object
): Void |
| Appends an item to the end of the array
|
|
public
| addItemAt (
index: Number, value: Object
): Void |
| Adds an item at the specified index
|
|
public
| addItemsAt (
index: Number, newItems: Array
): Void |
| For adding several items to the array
|
|
public
| editField (
index: Number, fieldName: String, newData: Object
): Void |
| Edits one field
|
|
public
| getEditingData (
index: Number, fieldName: String
): Object |
| Gets data in a user-editable format - relaxed return type
|
|
public
| getFieldValue (
index: Number, fieldName: String
): Object |
| Gets data in a user-editable format - relaxed return type
|
|
public
| getItemAt (
index: Number
): Object |
| Gets the item at the specified index
|
|
public
| getItemID (
index: Number
): Number |
| For getting a Unique ID for every item
|
|
public
| removeAll (
Void
): Void |
| Removes all items
|
|
public
| removeItemAt (
index: Number
): Object |
| Removes the item at the specified index
|
|
| removeItemsAt (
index: Number, len: Number
): Void |
| For removing several items from the Array views to the model
|
|
| replaceItemAt (
index: Number, itemObj: Object
): Void |
| Replaces the item at the specified index
|
|
public
| resultHandler (
e
) |
| callback for the connector result event*
|
|
public
| setFieldValue (
index: Number, fieldName: String, newData: Object
): Void |
| Edits one field
|
|
public
| sortItems (
compareFunc: Function, optionFlags: Number
): Void |
| Sorts the array by using a compare function
|
|
public
| sortItemsBy (
fieldName: String, order
): Void |
| Sorts the array by some field of each item
|
|
public
| updateViews (
event: String, first: Number, last: Number
): Void |
| takes a generic object, makes it into an event, and dispatches it
|
|
|
|