mirror of
https://github.com/koalyptus/TableFilter.git
synced 2024-05-03 07:03:33 +02:00
Page:
1.01 Appearance
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
4
1.01 Appearance
koalyptus edited this page 2018-06-17 21:43:25 +10:00
Property | Type | Description | Remarks | Example |
---|---|---|---|---|
base_path | string | defines the path to the script's directory (default: 'TableFilter/') | var tfConfig = { base_path: 'myDir/' } |
|
stylesheet | string | defines the global stylesheet (default: 'filtergrid.css') | var tfConfig = { stylesheet: 'myDir/myStylesheet.css' } |
|
filters_cell_tag | string | specifies the tag of the cell containing a filter ('td' / 'th') | var tfConfig = { filters_cell_tag: 'th' } |
|
col_widths | array | this property defines column widths. It accepts an array containing width values (['150px','10%']) | var tfConfig = { col_widths: ["150px","15%",null,null]
} |
|
responsive | boolean | enables / disables responsive layout (default - false) | Only when grid_layout is off |
var tfConfig = { responsive: true } |
sticky_headers | boolean | enables / disables sticky column headers (default - false) | Not supported when responsive option is enabled and
does not apply to grid_layout |
var tfConfig = { sticky_headers: true } |
flts_row_css_class | string | defines the css class of filters row | var tfConfig = { flts_row_css_class: "myclass" } |
|
flt_css_class | string | defines the css class of filters (inputs and selects) | var tfConfig = { flt_css_class: "myclass" } |
|
flt_small_css_class | string | defines the css class of smaller filters (if validation button is generated in the same column of a filter) | var tfConfig = { flt_small_css_class: "myclass" } |
|
flt_multi_css_class | string | defines css class of multiple select filters | var tfConfig = { flt_multi_css_class: "myclass" } |