Skip to content

unselect

cancels selection of the specified element

function unselect(
// the id of the row that should be unselected
row_id: id
): void

The parameters of the method differ depending on the value of the select parameter.

The main description above relates to select: ‘row’.

If select:‘cell’:

dgrid.unselect(row_id, column_id);
  • row_id - (string,number) the row id of the cell that should be unselected
  • column_id - (string,number) the column id of the cell that should be unselected

If select:‘column’:

dgrid.unselect(column_id);
  • column_id - (string,number) the id of the column that should be unselected

Articles

API