Spread.Sheets Documentation > Sample Code > Sample Code for Rows and Columns > Hiding the Headers |
You can display or hide the headers.
This example hides the headers.
JavaScript |
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; }); |