SpreadJS Documentation
getRowHeaderVisible Method
Gets a value that indicates whether the row header is visible.
Syntax
var instance = new GcSpread.Sheets.Sheet(name);
var value; // Type: boolean
value = instance.getRowHeaderVisible();
function getRowHeaderVisible() : boolean;

Return Value

true if the row header is visible; otherwise, false.
Example
This example gets the row header settings.
activeSheet.setRowCount(2,GcSpread.Sheets.SheetArea.colHeader);
activeSheet.setColumnCount(2,GcSpread.Sheets.SheetArea.rowHeader);
activeSheet.setValue(0, 2,"Column",GcSpread.Sheets.SheetArea.colHeader);
activeSheet.setRowHeaderAutoTextIndex(1);
activeSheet.setRowHeaderAutoText( GcSpread.Sheets.HeaderAutoText.letters);
activeSheet.setColHeaderAutoTextIndex(1);
activeSheet.setColHeaderAutoText(GcSpread.Sheets.HeaderAutoText.numbers);
var htext = activeSheet.getRowHeaderAutoText();
var hindex = activeSheet.getRowHeaderAutoTextIndex();
var hvisible = activeSheet.getRowHeaderVisible();
alert(htext);
alert(hindex);
alert(hvisible);
Remarks
The default value is true.
See Also

Reference

Sheet type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.