Selecting Rows

This API selects rows from the rows passed to the API. If a row Id does not exist, the API skips that row and does not throw an exception. This API is defined in emxUIFreezePane.js.

emxEditableTable.select

This API requires this input argument:


  • arrRowIds. An array of row IDs.

Example:

var arrRowIds = new Array ();
 arrRowIds.push( "0,0" );
 arrRowIds.push( "0,0,0" );
 arrRowIds.push( "0,1" ); emxEditableTable.select(arrRowIds);

Any rowIds that do not have a match or that are already selected are ignored. If there are no matching rowIds, a message is displayed to the user.

The select URL parameter determines if the structure browser shows check boxes (select=multiple), radio buttons (select=single), or no select option (select=none). Depending on the value, the structure browser in view mode uses these visual cues to indicate which rows are selected:


  • Check boxes: check boxes are selected and rows show with a blue background.
  • Radio buttons: only the first returned row is selected and shown with a blue background.
  • None: selected rows are indicated by a blue backround.