Removes the element at the given index.
Namespace: MindFusion.Common.Collections
File: IEnumerable.js
SyntaxJavaScript
Copy Code
|
|---|
function removeAt (index) |
Type: Number
Number. The index.
ExampleThe 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); |
See Also