SpreadJS 15
Features / Theme / Excel Theme
In This Topic
    Excel Theme
    In This Topic

    You can use an Excel theme or style in SpreadJS. This requires that a style link is added to the head section of the aspx page. For example:

    <link rel="stylesheet" href="css/gc.spread.sheets.excel2013white.x.x.x.css" />

    Excel theme

    The Excel 2013 theme also applies to the tab strip and scroll bars.

    The following themes are available:

    Name CSS File
    Excel 2007 gc.spread.sheets.x.x.x.css
    Excel 2013 White gc.spread.sheets.excel2013white.x.x.x.css
    Excel 2013 Light Gray gc.spread.sheets.excel2013lightGray.x.x.x.css
    Excel 2013 Dark Gray gc.spread.sheets.excel2013darkGray.x.x.x.css
    Excel 2016 Colorful gc.spread.sheets.excel2016colorful.x.x.x.css
    Excel 2016 Dark Gray gc.spread.sheets.excel2016darkGray.x.x.x.css
    Excel 2016 Black gc.spread.sheets.excel2016black.x.x.x.css

    You can also combine the Excel theme with other themes such as the bootstrap theme. For example:

    <link rel="stylesheet" href="css/gc.spread.sheets.excel2013white.x.x.x.css" />

    <link rel="stylesheet" href="css/bootstrap/bootstrap.min.css" title="aa" />
    <link rel="stylesheet" href="css/bootstrap/bootstrap-theme.min.css" title="aa" />

    Use the refresh method if you change a theme.