SpreadJS Documentation
Sample Code for Rows and Columns
Collapse All
Expand All
SpreadJS Documentation
>
Sample Code
> Sample Code for Rows and Columns
The following topics provide code samples for rows and columns.
Setting the Number of Rows and Columns
Changing Row Height and Column Width
Changing the Header Size
Customizing the Headers
Setting the Header Color
Hiding the Headers
Spanning or Merging Header Cells
Creating Multiple Rows and Columns in the Headers
Setting Fixed or Frozen Rows and Columns
Adding Columns and Rows
Deleting Columns and Rows
Creating and Removing Selections
Preventing Resizing
Getting the Displayed Cell Index
Setting the Top Row and Column