MindFusion.Charting for JavaScript Programmer's Guide
ObservableCollection.removeAt Method
See Also
Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: None Language Filter: C# Language Filter: Visual Basic Language Filter: Java Language Filter: JavaScript Language Filter: C++ Language Filter: XAML

C#
Visual Basic
Java
JavaScript
C++
XAML

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