SpreadJS 13
SpreadJS Documentation / Sample Code / Sample Code for Rows and Columns / Hiding the Headers
In This Topic
    Hiding the Headers
    In This Topic

    You can display or hide the headers.

    Hiding headers in a worksheet

    Using Code

    This example hides the headers.

    Copy Code
    $(document).ready(function ()
        var spread =
        new GC.Spread.Sheets.Workbook(document.getElementById("ss"),{sheetCount:3});
        var activeSheet = spread.getActiveSheet();
        // Hide column headers.
        activeSheet.options.colHeaderVisible = false;
        // Hide row headers.
        activeSheet.options.rowHeaderVisible = false;