mirror of
https://github.com/koalyptus/TableFilter.git
synced 2024-05-03 07:03:33 +02:00
Page:
1.12 Themes
Pages
1.0 Configuration
1.01 Appearance
1.02 Main features
1.03 Grid layout
1.04 Paging
1.05 Drop down filter
1.06 Checklist filter
1.07 Rows counter
1.08 Loading indicator
1.09 Submit and reset button
1.10 Status bar
1.11 Data types
1.12 Themes
1.13 Help instructions
1.14 Popup filters
1.15 No results message
1.16 Highlight keywords
1.17 State
1.18 Mark active columns
1.19 Toolbar
1.20 Single filter
2.0 TableFilter class
2.1 Public properties
2.2 Public methods
3.0 Extensions
3.1 Advanced grid
3.1 Sort
3.2 Column operations
3.3 Filters visibility
3.4 Columns visibility
4. Filter operators
Home
Obsolete
TODO
1
1.12 Themes
koalyptus edited this page 2015-06-11 23:52:01 +10:00
The themes
manager provides a mechanism for loading stylesheets asynchronously.
Property | Type | Description | Remarks | Example |
---|---|---|---|---|
themes | array | an array of literal objects describing the stylesheets to be imported. Below a list of the available properties:
|
var tfConfig = { themes: [{ name:'stylesheet01', path:'path/to/style01.css'}, { name:'stylesheet02', path:'path/to/style02.css'}] } |
|
enable_default_theme | boolean | if set true, it will load the default theme located in the style/themes/default/
folder (default - false) |
Default stylesheet name: default.css |
var tfConfig = { enable_default_theme: true } |
themes_path | string | defines an alternative path to the script's themes (default - style/themes/ ) |
The folder that contains the script's stylesheets and images | var tfConfig = { themes_path: 'myThemes/' } |
msg_load_themes | string | text displayed when a stylesheets is loaded (default - 'Loading theme(s)...') | var tfConfig = { msg_load_themes: 'Loading my stylesheets..'
} |