Wijmo UI for the Web
removeRange Method
wijmo.grid Namespace > selection type : removeRange Method
Cell range to remove.
The x-coordinate that represents the top left cell of the range.
The y-coordinate that represents the top left cell of the range.
The x-coordinate that represents the bottom right cell of the range.
The y-coordinate that represents the bottom right cell of the range.
Removes a range of cells from the current selection.
Syntax
var instance = new wijmo.grid.selection();

// Parameters
var cellRange; // Type:  cellInfoRange
var x0; // Type:  number
var y0; // Type:  number
var x1; // Type:  number
var y1; // Type:  number

instance.removeRange(cellRange, x0, y0, x1, y1);
function removeRange( 
   cellRange : cellInfoRange,
   x0 : number,
   y0 : number,
   x1 : number,
   y1 : number
) : void;

Parameters

cellRange
Cell range to remove.
x0
The x-coordinate that represents the top left cell of the range.
y0
The y-coordinate that represents the top left cell of the range.
x1
The x-coordinate that represents the bottom right cell of the range.
y1
The y-coordinate that represents the bottom right cell of the range.
Example
// Remove a cell range (0,0)-(1,1) from the selection
selectionObj.removeRange(0, 0, 1, 1);
See Also

Reference

selection type