SpreadJS Documentation
referenceStyle Method
The reference style.
Gets or sets the style for cell and range references in cell formulas on this sheet.
Syntax
var instance = new GcSpread.Sheets.Sheet(name);
var returnValue; // Type: ReferenceStyle
returnValue = instance.referenceStyle(value);
function referenceStyle( 
   value : ReferenceStyle
) : ReferenceStyle;

Parameters

value
The reference style.

Return Value

The reference style.
Example
This example sets the reference style for the active sheet.
activeSheet.referenceStyle(GcSpread.Sheets.ReferenceStyle.R1C1);
Remarks
The default value is ReferenceStyle.A1.
See Also

Reference

Sheet type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.