SpreadJS Documentation
Setting a Widget Border
Collapse All
Expand All
SpreadJS Documentation
>
Sample Code
>
Sample Code for the Widget
> Setting a Widget Border
You can set a border using CSS.
Using Code
This sample sets a border using CSS.
JavaScript
Copy Code
//Changing the border using css.
.spread {
border-style: solid;
border-width: 1px;
border-color: red;
}
See Also
Developer's Guide
Setting Borders, Gridlines and Diagonal Lines