SpreadJS 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 GcSpread.Sheets.Spread($("#ss").get(0),{sheetCount:3}); var activeSheet = spread.getActiveSheet(); //Hide column headers. activeSheet.setColumnHeaderVisible(false); //Hide row headers. activeSheet.setRowHeaderVisible(false); }); |