Wijmo UI for the Web
removeRows Method
The index of the first row to remove.
The index of the last row to remove.
Removes a range of rows from the current selection. Usage: 1. removeRows(0) 2. removeRows(0, 2)
Syntax
Javascript (Usage) 
var instance = new wijmo.grid.selection();

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

instance.removeRows(start, end);
Javascript (Specification) 
function removeRows( 
   start : number,
   end : number
) : void;

Parameters

start
The index of the first row to remove.
end
The index of the last row to remove.
Example
// Remove the first row from the selection.
selectionObj.removeRows(0);
Remarks
The result depends upon the chosen selection mode in the grid.
Browser Compatibility
7
5
5

See Also

Reference

selection type

 

 


© 2013 All Rights Reserved.

Send comments on this topic.