LEADTOOLS JavaScript (Leadtools)

MoveItem Method

Show in webframe
The 0-based index specifying the location of the item to be moved.
The 0-based index specifying the new location of the item.
Moves the item at the specified index to a new location in the collection.
Syntax
 function Leadtools.LeadCollection.moveItem( 
   oldIndex ,
   newIndex 
)

Parameters

ParameterTypeDescription
oldIndexintThe 0-based index specifying the location of the item to be moved.
newIndexintThe 0-based index specifying the new location of the item.
Remarks

This method raises the CollectionChanged event with Move action.

Notes to Inheritors

Derived classes can override this method to change the behavior of the Move method.

See Also

Reference

LeadCollection Object
LeadCollection Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.