RasterList.moveItems( items, destIndex [, doPaint] )

Moves an item or items to a new location.

Parameters

Name Type   Description
items object A ListItem or array of ListItem objects to be moved.
destIndex number Index where the item(s) will be moved. This value is from 0 to size(). A value equal or greated to size() will appends the item(s) to the end of the list.
doPaint boolean optional Used to increase performance when doing batch operations in the list. If this argument is omitted or set true, the display is updated immediately to reflect the changes, false does not update the the display until paint() is later invoked.

Returns

Type Description
object The list object. This allow for chaining multiple setter methods in one single statement.
Home Examples Download License
 
Copyright © 2010-2017 Edwin R. López