Wijmo UI for the Web
selectedCells Method
Gets a read-only collection of the selected cells.
Syntax
Javascript (Usage) 
var instance = new wijmo.grid.selection();
var value; // Type: cellInfoOrderedCollection
value = instance.selectedCells();
Javascript (Specification) 
function selectedCells() : cellInfoOrderedCollection;

Return Value

A read-only collection of the selected cells.
Example
var selectedCells = selectionObj.selectedCells();
for (var i = 0, len = selectedCells.length(); i < len; i++) {
alert(selectedCells.item(i).value().toString());
}
Browser Compatibility
7
5
5

See Also

Reference

selection type

 

 


© 2013 All Rights Reserved.

Send comments on this topic.