[]
Initializes a new instance of the ObservableArray class.
Array containing items used to populate the ObservableArray.
Gets a value that indicates whether notifications are currently suspended (see beginUpdate and endUpdate).
Gets or sets the length of the array. This is a number one higher than the highest element defined in an array.
Gets the FlexGrid or ColumnGroup that owns this collection.
Suspends notifications until the next call to endUpdate.
Removes all items from the array.
Combines two or more arrays.
Additional items to add to the end of array1.
Combines two or more arrays.
Additional items to add to the end of array1.
Returns the this object after copying a section of the array identified by start and end to the same array starting at position target
If target is negative, it is treated as length+target where length is the length of the array.
If start is negative, it is treated as length+start. If end is negative, it is treated as length+end.
If not specified, length of the this object is used as its default value.
Executes a function within a beginUpdate/endUpdate block.
The collection will not be refreshed until the function finishes. This method ensures endUpdate is called even if the function throws an exception.
Function to be executed without updates.
Resumes notifications suspended by a call to beginUpdate.
Returns an iterable of key, value pairs for every entry in the array
Determines whether all the members of an array satisfy the specified test.
A function that accepts up to three arguments. The every method calls the callbackfn function for each element in array1 until the callbackfn returns false, or until the end of the array.
An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.
Returns the this object after filling the section identified by start and end with value
value to fill array section with
index to start filling the array at. If start is negative, it is treated as length+start where length is the length of the array.
index to stop filling the array at. If end is negative, it is treated as length+end.
Returns the elements of an array that meet the condition specified in a callback function.
A function that accepts up to three arguments. The filter method calls the callbackfn function one time for each element in the array.
An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.
Returns the elements of an array that meet the condition specified in a callback function.
A function that accepts up to three arguments. The filter method calls the callbackfn function one time for each element in the array.
An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.
Returns the index of the first element in the array where predicate is true, and -1 otherwise.
find calls predicate once for each element of the array, in ascending order, until it finds one where predicate returns true. If such an element is found, findIndex immediately returns that element index. Otherwise, findIndex returns -1.
If provided, it will be used as the this value for each invocation of predicate. If it is not provided, undefined is used instead.
Performs the specified action for each element in an array.
A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.
An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.
Gets a column group by name, binding, or index.
If name parameter is of number type, the method returns the child column group by index. If name parameter is of string type, the method searches the column group by name. If a column with the given name is not found, it searches by binding. The searches are case-sensitive.
The name, binding, or index to find.
The column group with the specified name, binding or index, or null if not found.
Returns true if the caller queries for a supported interface.
Name of the interface to look for.
True if the caller queries for a supported interface.
Determines whether an array includes a certain element, returning true or false as appropriate.
The element to search for.
The position in this array at which to begin searching for searchElement.
Searches for an item in the array.
Element to locate in the array.
The index where the search should start.
The index of the item in the array, or -1 if the item was not found.
Inserts an item at a specific position in the array.
Position where the item will be added.
Item to add to the array.
Adds all the elements of an array separated by the specified separator string.
A string used to separate one element of an array from the next in the resulting String. If omitted, the array elements are separated with a comma.
Returns an iterable of keys in the array
Returns the index of the last occurrence of a specified value in an array.
The value to locate in the array.
The array index at which to begin the search. If fromIndex is omitted, the search starts at the last index in the array.
Calls a defined callback function on each element of an array, and returns an array that contains the results.
A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.
An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.
Appends an item to the array.
Item to add to the array.
The new length of the array.
Removes an item from the array.
Item to remove.
True if the item was removed, false if it wasn't found in the array.
Removes an item at a specific position in the array.
Position of the item to remove.
Reverses the elements in an Array.
Assigns an item at a specific position in the array.
Position where the item will be assigned.
Item to assign to the array.
Removes the first element from the array and returns that element.
This method changes the length of the array.
Creates a shallow copy of a portion of an array.
Position where the copy starts.
Position where the copy ends.
A shallow copy of a portion of an array.
Determines whether the specified callback function returns true for any element of an array.
A function that accepts up to three arguments. The some method calls the callbackfn function for each element in array1 until the callbackfn returns true, or until the end of the array.
An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.
Sorts the elements of the array in place.
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 argument is smaller, greater than, or equal to the second argument. If omitted, the array is sorted in dictionary order according to the string conversion of each element.
A copy of the sorted array.
Removes or adds items to the array.
Position where items are to be added or removed.
Number of items to remove from the array.
An array containing the removed elements.
Returns a string representation of an array. The elements are converted to string using their toLocalString methods.
Returns a string representation of an array.
Adds one or more elements to the beginning of the array and returns the new length of the array.
The new length of the array.
Returns an iterable of values in the array
Occurs when the collection changes.
Extends the ObservableArray class to track column group changes.