MindFusion.Charting for JavaScript Programmer's Guide
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

Type: Number
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

ObservableCollection Members
ObservableCollection Class
MindFusion.Common.Collections Namespace