GcSpread.Sheets Namespace > Sheet type : setColumnHeaderAutoTextIndex Method |
var instance = new GcSpread.Sheets.Sheet(name); var value; // Type: any value = instance.setColumnHeaderAutoTextIndex(autoTextIndex);
function setColumnHeaderAutoTextIndex( autoTextIndex : number ) : any;
sheet.setRowCount(2,GcSpread.Sheets.SheetArea.colHeader);
sheet.setColumnCount(2,GcSpread.Sheets.SheetArea.rowHeader);
sheet.setValue(0, 2,"Column",GcSpread.Sheets.SheetArea.colHeader);
sheet.setColumnHeaderAutoTextIndex(1);
sheet.setColumnHeaderAutoText(GcSpread.Sheets.HeaderAutoText.numbers);