54
Name
Parameters
Description
Returns The index of the item in
the array, or -1 if the item was not
found.
(inherited
from ObservableArray).
insert(index, item)
index (number): Position where the item will be added.
item (any): Item to add to the array.
Inserts an item at a specific
position in the array. Overrides
the insert method of its base
classObservableArray.
isValidSheetName
(sheet): boolean
sheet (Sheet): The Sheet for which the name needs to check.
Checks whether the sheet name is
valid.
onCollectionChanged
(e?)
e? (): Contains a description of the change.
(default value: NotifyCollectionChangedEventArgs.reset)
Raises
the collectionChanged event.
(inherited
from ObservableArray).
onSelectedSheetChanged
(e)
e (PropertyChangedEventArgs): PropertyChangedEventArgs that
contains the event data.
Raises
the currentChanged event.
onSheetNameChanged
(e)
e (NotifyCollectionChangedEventArgs)
Raises
the sheetNameChanged event.
onSheetVisibleChanged
(e)
e (NotifyCollectionChangedEventArgs)
Raises
the sheetVisibleChanged event.
push(...item): number
...item (any[]): One or more items to add to the array.
Adds one or more items to the end
of the array. Overrides the push
method of its base
classObservableArray.
Returns The new length of the
array.
remove(item): boolean item (any): Item to remove.
Removes an item from the array.