Skip to content

addSelectArea

adds a select area

function addSelectArea(
// the id object of the left top cell, contains two properties: the row id and the column id
start: WebixCellObject,
// the id object of the right cell, contains two properties: the row id and the column id
end: WebixCellObject,
// defines if the previous select area should be saved, false by default
preserve: boolean,
// optional, the name used to address to an area to change or to delete it
area_name?: string,
// optional, the css style for an area
css?: string,
// optional, defines whether selection will be resized with or without a handle
handle?: boolean
): void
grid.addSelectArea(start,end,preserve);

also check the next sample:

Articles

API