Wijmo UI for the Web
selection type
An object that represents selection in the grid. You do not need to create instances of this class.
Syntax
Javascript (Usage) 
var instance = new wijmo.grid.selection();
Javascript (Specification) 
function selection;
Inheritance Hierarchy

Object
   wijmo.grid.selection

Browser Compatibility
7
5
5
Constructors
 NameDescription
public Constructorselection ConstructorAn object that represents selection in the grid. You do not need to create instances of this class.  
Top
Methods
 NameDescription
public MethodaddColumnsAdds a column range to the current selection. Usage: 1. addColumns(0) 2. addColumns(0, 2)  
public MethodaddRangeAdds a cell range to the current selection.  
public MethodaddRowsAdds a row range to the current selection. Usage: 1. addRows(0) 2. addRows(0, 2)  
public MethodbeginUpdateBegins the update. Any changes won't take effect until endUpdate() is called.  
public MethodclearClears the selection.  
public MethodendUpdateEnds the update. The pending changes are executed and the selectionChanged event is raised.  
public MethodremoveColumnsRemoves a range of columns from the current selection. Usage: 1. removeColumns(0) 2. removeColumns(0, 2)  
public MethodremoveRangeRemoves a range of cells from the current selection.  
public MethodremoveRowsRemoves a range of rows from the current selection. Usage: 1. removeRows(0) 2. removeRows(0, 2)  
public MethodselectAllSelects all the cells in a grid.  
public MethodselectedCellsGets a read-only collection of the selected cells.  
Top
See Also

Reference

wijmo.grid Namespace

 

 


© 2013 All Rights Reserved.

Send comments on this topic.