SpreadJS Documentation
selectionUnit Method
Whether users can select cells, rows, or columns.
Gets or sets whether users can select cells, rows, or columns.
Syntax
var instance = new GcSpread.Sheets.Sheet(name);
var returnValue; // Type: Object
returnValue = instance.selectionUnit(value);
function selectionUnit( 
   value : SelectionUnit
) : Object;

Parameters

value
Whether users can select cells, rows, or columns.

Return Value

The selection unit setting.
Example
This example uses the selectionUnit method.
activeSheet.selectionUnit(GcSpread.Sheets.SelectionUnit.Row);
activeSheet.selectionPolicy(GcSpread.Sheets.SelectionPolicy.Range);
Remarks
The default value is SelectionUnit.Cell.
See Also

Reference

Sheet type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.