Skip to content

select

selects the specified element

function select(
// the row id
row_id: id,
// defines whether the previous selection should be saved
preserve: boolean
): 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’, then:

dgrid.select(row_id, column_id, preserve);
  • row_id - (string,number) the row id
  • column_id - (string,number) the column id
  • preserve - (boolean) sets whether the previous selection should be saved

If select:‘column’, then:

dgrid.select(row_id, column_id, preserve);
  • column_id - (string,number) the column id
  • preserve - (boolean) sets whether the previous selection should be saved

Articles

API