selectRange
selects the specified range of elements
void selectRange( row_id, end_row_id);
Parameters
row_id | | id the id of the first selected row in the selection range |
end_row_id | | id the id of the last selected row in the selection range |
See also
Details
Alternative syntax
The parameters of the method differ depending on the value the select parameter is set to.
The main description above relates to select: 'row'.
In case select:'cell'
dtable.selectRange(row_id, column_id, end_row_id, end_column_id);
- row_id - (string/int) the row id of the first selected cell in the selection range
- column_id - (string/int) the column id of the first selected cell in the selection range
- end_row_id - (string/int) the row id of the last selected cell in the selection range
- end_column_id - (string/int) the column id of the last selected cell in the selection range
In case select:'column':
dtable.selectRange(column_id, end_column_id);
- column_id - (string/int) the id of the first selected column in the selection range
- end_column_id - (string/int) the id of the last selected column in the selection range
Back to top