SpreadJS Documentation
Sample Code for Cells
Collapse All
Expand All
SpreadJS Documentation
>
Sample Code
> Sample Code for Cells
The following topics provide code samples for cells.
Setting the Cell Color
Setting Alignment and Indentation
Setting Cell Borders
Setting a Background Image
Spanning or Merging Cells
Locking Cells
Allowing Cell Overflow
Getting the Active Cell Index
Changing the Active Cell Backcolor
Setting Cell Values
Getting Cell Values
Setting the Active Cell
Setting the Active Cell at a Specific Location
Allowing Drag and Drop
Creating Multiple Selections
Getting Selected Ranges
Setting Conditional Formats
Getting Cell Index from Mouse Click
Getting Header Cell Index from Mouse Click
Getting the Cell Position and Size
Using the Button Clicked Event with Cells