Removes the element at the given index.
Namespace: MindFusion.Common.Collections
File: IEnumerable.js
JavaScript Copy Code |
---|
function removeAt (index) |
Number. The index.
The following code checks if the count of items in a ListView is more than 100 and if yes, removes the first one:
JavaScript Copy Code |
---|
if (listView.items().count()>100) listView.items().removeAt(0); |