Spread.Sheets Documentation
Changing the Header Size

You can change the height and width of the headers.

Using Code

This example changes the column header height and row header width.

JavaScript
Copy Code
$(document).ready(function () {
    var spread = new GC.Spread.Sheets.Workbook(document.getElementById("ss"),{sheetCount:3});
    var sheet = spread.getActiveSheet();

    //Change the column header height.
    sheet.setRowHeight(0, 90.0,GC.Spread.Sheets.SheetArea.colHeader);

    //Change the row header width.
    sheet.setColumnWidth(0, 90.0,GC.Spread.Sheets.SheetArea.rowHeader);
});
See Also

Developer's Guide

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.