SpreadJS Documentation
setRowHeaderAutoText Method
A value that indicates what the row header displays.
Sets a value that indicates whether the row header displays letters or numbers or is blank.
Syntax
var instance = new GcSpread.Sheets.Sheet(name);
var value; // Type: any
value = instance.setRowHeaderAutoText(autoText);
function setRowHeaderAutoText( 
   autoText : HeaderAutoText
) : any;

Parameters

autoText
A value that indicates what the row header displays.
Example
This example changes the row header with an index of one to letters.
sheet.setRowCount(2,GcSpread.Sheets.SheetArea.colHeader);
sheet.setColumnCount(2,GcSpread.Sheets.SheetArea.rowHeader);
sheet.setValue(0, 2,"Column",GcSpread.Sheets.SheetArea.colHeader);
sheet.setRowHeaderAutoTextIndex(1);
sheet.setRowHeaderAutoText(GcSpread.Sheets.HeaderAutoText.letters);
Remarks

See Also

Reference

Sheet type
HeaderAutoText Enumeration

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.