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

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

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

Parameters

start
The index of the first column to select.
end
The index of the last column to select.
Example
// Add the first column to the current selection.
selectionObj.addColumns(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.
Browser Compatibility
7
5
5

See Also

Reference

selection type

 

 


© 2013 All Rights Reserved.

Send comments on this topic.