RasterList.selectItem( item [, add [, range]] )

Include an item in the current list selection (if any).

Parameters

Name Type   Description
item object A reference to a ListItem object, or a value matching the value attribute of a ListItem. If an item matching this argument is not found in this container, this method does nothing. Set this argument to null to clear any selection in the list.
add boolean optional true add the given item to the current list selection (if any). When false, the previously list selection is cleared before the given item is selected (default).
range boolean optional True select all the items in range from the last selected item to the given item; false selects one item (default).

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