Search
ObservableCollection.removeAt Method
See Also
 






Deletes the item at the specified index.

Namespace: MindFusion.Common.Collections
File: ObservableCollection.js

 Syntax

JavaScript  Copy Code

function removeAt (itemIndex)

 Parameters

itemIndex

Number. The index to remove at.

 Example

The following code checks if the List with items in a ListView is more than 100 and if yes - removes the first element.

JavaScript  Copy Code
if(listView.items().count > 100)
   products.removeAt(0);

 See Also