SpreadJS Documentation > Developer's Guide > Customizing the Appearance > Setting Styles and Themes > Using Custom Themes from ThemeRoller |
You can create a custom jQuery theme using the ThemeRoller and then use the theme with SpreadJS.
You can find the ThemeRoller at jqueryui.com/themeroller.
Create the custom theme and then add the link to the page after the SpreadJS link. For example:
<link href=”css/gcspread.sheets.x.xx.xxxxx.x.css” rel=”stylesheet” type=”text/css” />
<link href="css/black-tie/jquery-ui.css " rel="stylesheet" type="text/css" />
You may also wish to use a timer to refresh the widget if downloading the theme from a server.
This example uses a timer.
JavaScript |
Copy Code
|
---|---|
<link href="./css/gcspread.sheets.excel2013white.9.40.20153.0.css" rel="stylesheet" type="text/css" title="rocket-jqueryui" /> $("#sampleDiv").data("spread"); |