[]
Gets a value that indicates whether a new item can be added to the collection.
Gets a value that indicates whether the collection view can discard pending changes and restore the original values of an edited object.
Gets a value that indicates whether this view supports filtering via the filter property.
Gets a value that indicates whether this view supports grouping via the groupDescriptions property.
Gets a value that indicates whether items can be removed from the collection.
Gets a value that indicates whether this view supports sorting via the sortDescriptions property.
Gets the item that is being added during the current add transaction.
Gets the item that is being edited during the current edit transaction.
Gets the current item in the view.
Gets the ordinal position of the current item in the view.
Gets or sets a callback used to determine if an item is suitable for inclusion in the view.
NOTE: If the filter function needs a scope (i.e. a meaningful 'this' value), then remember to set the filter using the 'bind' function to specify the 'this' object. For example:
collectionView.filter = this._filter.bind(this);
Gets a collection of GroupDescription objects that describe how the items in the collection are grouped in the view.
Gets the top-level groups.
Gets a value that indicates whether an add transaction is in progress.
Gets a value that indicates whether an edit transaction is in progress.
Gets a value that indicates whether this view contains no items.
Gets the filtered, sorted, grouped items in the view.
Gets a collection of SortDescription objects that describe how the items in the collection are sorted in the view.
Gets or sets the collection object from which to create this view.
Adds a new item to the collection.
The item that was added to the collection.
Suspends refreshes until the next call to endUpdate.
Ends the current edit transaction and, if possible, restores the original value to the item.
Ends the current add transaction and discards the pending new item.
Ends the current edit transaction and saves the pending changes.
Ends the current add transaction and saves the pending new item.
Returns a value that indicates whether a given item belongs to this view.
The item to locate in the collection.
Executes a function within a beginUpdate/endUpdate block.
The collection will not be refreshed until the function has been executed. This method ensures endUpdate is called even if the function throws.
Function to be executed within the beginUpdate/endUpdate block.
Whether to force a refresh when ending the update.
Begins an edit transaction of the specified item.
Item to edit.
Resumes refreshes suspended by a call to beginUpdate.
Whether to force a refresh when ending the update.
Returns true if the object implements a given interface.
Name of the interface to look for.
Sets the specified item to be the current item in the view.
The item to set as the currentItem.
Sets the first item in the view as the current item.
Sets the last item in the view as the current item.
Sets the item after the current item in the view as the current item.
Sets the item at the specified index in the view as the current item.
The index of the item to set as the currentItem.
Sets the item before the current item in the view as the current item.
Re-creates the view using the current sort, filter, and group parameters.
Removes the specified item from the collection.
Item to remove from the collection.
Removes the item at the specified index from the collection.
Index of the item to remove from the collection.
Occurs when the collection changes.
Occurs after the current item changes.
Occurs before the current item changes.
Defines methods and properties that extend ICollectionView to provide editing capabilities.