addSelectArea

adds a select area

void addSelectArea(object start,object end,boolean preserve, [string area_name,string css,boolean handle] );
startobjectthe id object of the left top cell, contains two properties: the row id and the column id
endobjectthe id object of the right cell, contains two properties: the row id and the column id
preservebooleandefines if the previous select area should be saved, false by default
area_namestringoptional, the name used to address to an area to change or to delete it
cssstringoptional, the css style for an area
handlebooleanoptional, defines whether selection will be resized with or without a handle

Available only in PRO Edition

Example

$$("dtable").addSelectArea(start,end,preserve);

Related samples

See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix html5 ui library and page of javascript data table product.