Spread for ASP.NET 10 Product Documentation > Developer's Guide > Customizing the Appearance > Customizing the Appearance of the Overall Component > Using the jQuery Theme Roller with Spread |
You can apply a Theme Roller theme to the Spread control.
The theme is applied to the following areas.
The following styles are applied from the jQuery theme.
If the jQuery theme is enabled, the jQuery theme style has a higher priority than the default style but a lower priority than the custom style. If the sheet skin is DefaultSkins.Default or it is not specified, the jQuery theme takes effect. If the sheet view active skin is a built-in skin (not DefaultSkins.Default) or a custom skin then the jQuery theme has no effect.
The viewport, context menu, filter menu, touch strip, dialogs, group headers, and group footers are not supported. If the SheetView.SelectionBackColor property is set, then the theme highlight is not applied.
For more information about themes, refer to the Theme Roller web site, http://jqueryui.com/themeroller/.
This example displays a theme.
Script |
Copy Code
|
---|---|
<head runat="server"> <title>Demo page</title> <link href="jquery-ui-themes-1.10.4/themes/ui-darkness/jquery-ui.min.css" rel="stylesheet" /> <link href="jquery-ui-themes-1.10.4/themes/ui-darkness/jquery.ui.theme.css" rel="stylesheet" /> </head> |
C# |
Copy Code
|
---|---|
FpSpread1.EnablejQueryTheme = true;
|
VB |
Copy Code
|
---|---|
FpSpread1.EnablejQueryTheme = True
|