SpreadJS 13
SpreadJS Documentation / Sample Code / Sample Code for the Widget / Setting a Widget Border
In This Topic
    Setting a Widget Border
    In This Topic

    You can set a border using CSS.

    Widget border

    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