You can create a custom jQuery theme using the ThemeRoller and then use the theme with Spread.Sheets.
You can find the ThemeRoller at jqueryui.com/themeroller.
Create the custom theme and then add the link to the page after the Spread.Sheets 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.
Using Code
This example uses a timer.
JavaScript |
Copy Code |
||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1fbe5b2b-ff24-48f5-8fcc-4a28afd64b09"><ac:plain-text-body><![CDATA[ |
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Spread Sample</title> <link href="./css/gc.spread.sheets.10.0.0.css" rel="stylesheet"/> <link href="https://code.jquery.com/ui/1.11.4/themes/overcast/jquery-ui.css" rel="stylesheet" type="text/css" title="themeRuler"/><script src="http://code.jquery.com/jquery-2.1.1.js" type="text/javascript"></script> <script src="./scripts/gc.spread.sheets.all.10.0.0.js" type="application/javascript"></script> <script> $(function () { var spread = new GC.Spread.Sheets.Workbook($("#ss")[0]); |
|
]]></ac:plain-text-body></ac:structured-macro> |