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

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

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

Parameters

start
The index of the first column to remove.
end
The index of the last column to remove.
Example
// Remove the first columm from the selection.
selectionObj.removeColumns(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.