select

marks an item as selected

void select( [string|number id] );

Parameters

idstring|numberid of the item which should be selected, optional

Example

//select one record
myDataView.select(id);
//select all
myDataView.select();

Details

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

See also
Back to top