Wijmo UI for the Web
addRows Method
wijmo.grid Namespace > selection type : addRows Method
The index of the first row to select.
The index of the last row to select.
Adds a row range to the current selection. Usage: 1. addRows(0) 2. addRows(0, 2)
Syntax
var instance = new wijmo.grid.selection();

// Parameters
var start; // Type:  number
var end; // Type:  number

instance.addRows(start, end);
function addRows( 
   start : number,
   end : number
) : void;

Parameters

start
The index of the first row to select.
end
The index of the last row to select.
Example
// Add the first row to the selection.
selectionObj.addRows(0);
Remarks
The result depends upon the chosen selection mode in the grid. For example, if current selection mode does not allow multiple selection the previous selection will be removed.
See Also

Reference

selection type