getAllSelectAreas

returns an object that contains configuration objects of all select areas in the datatable

object getAllSelectAreas();
objectan object with config objects of all select areas

Available only in PRO Edition

Example

var areas = $$("dtable").getAllSelectAreas();

Related samples

Details

Each returned object of the select area contains the following parameters:

  • start - (object) the id object of the left top cell, contains two parameters: the row id and the column id
  • end - (object) the id object of the right cell, contains two parameters: the row id and the column id
  • preserve - (boolean) defines if the previous select area should be saved, false by default
  • area_name - (string) optional, the name used to address to an area to change or to delete it
  • css - (string) optional, the css style for an area
  • handle - (boolean) optional, defines whether selection will be resized with or without a handle
See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix web control library and page of datatable js product.