47
Name
Parameters
Description
moveElement(src, dst) src (number): Index of the element to move.
dst (number): Position where the element should be moved
to (-1 to append).
Moves an element from one position to
another.
(inherited from RowColCollection).
onCollectionChanged(e?) e? ()
(default value: collections.
NotifyCollectionChangedEventArgs.reset)
Keeps track of dirty state and invalidate
grid on changes.
(inherited from RowColCollection).
push(item): number
item (any): Item to add to the array.
Appends an item to the array.
Returns The new length of the array.
(inherited from RowColCollection).
remove(item): boolean item (any): Item to remove.
Removes an item from the array.
Returns True if the item was removed,
false if it wasn't found in the array.
(inherited from ObservableArray).
removeAt(index)
index (number): Position of the item to remove.
Removes an item at a specific position in
the array.
(inherited from ObservableArray).
setAt(index, item)
index (number): Position where the item will be assigned.
item (any): Item to assign to the array.
Assigns an item at a specific position in
the array.
(inherited from ObservableArray).
slice(begin?, end?): any[] begin? (number): Position where the copy starts.
end? (number): Position where the copy ends.
Creates a shallow copy of a portion of an
array.
Returns A shallow copy of a portion of an
array.
(inherited from ObservableArray).
sort(compareFn?): any[] compareFn? (Function): Specifies a function that defines
the sort order. If specified, the function should take two
arguments and should return -1, +1, or 0 to indicate the first
Sorts the elements of the array in place.