Deletes the item at the specified index.
Namespace: MindFusion.Common.Collections
File: ObservableCollection.js
SyntaxJavaScript
Copy Code
|
|---|
function removeAt (itemIndex) |
Number. The index to remove at.
ExampleThe 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