select of ui.datatable, Methods Webix Docs

selects the specified element

void select(id row_id,boolean preserve);

row_id

idthe row id preserve
booleandefines whether the previous selection should be saved

Details

Alternative syntax

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:

dtable.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:

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

See also

  • API

  • Articles

  • Back to top

    If you have not checked yet, be sure to visit site of our main product Webix javascript framework and page of javascript data table product.