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