Removes an element from the collection.
Namespace: MindFusion.Common.Collections
File: IEnumerable.js
JavaScript Copy Code |
---|
function remove (item) |
Object. The object to remove.
The following code checks if an item called _item is contained within the collection of items of a ListView after it has changed and if yes, removes it.
JavaScript Copy Code |
---|
istView.selectionChanged.addEventListener(listSelectionChanged);
if( args.newItems.items().contains(_item)) |