unselect

removes selection from a certain item

void unselect( [string|number id] );

Parameters

idstring|numberid of the item which needs to be unselected, optional

Example

//unselect one record
myList.unselect(id);
//unselect all
myList.unselect();

Details

if the id is not provided, the method works as unselectAll()

See also
Back to top