mirror of
https://github.com/koalyptus/TableFilter.git
synced 2024-05-03 07:03:33 +02:00
Page:
3.1 Advanced grid
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
9
3.1 Advanced grid
koalyptus edited this page 2015-07-04 13:32:34 +10:00
Advanced selection, keyboard navigation and inline components are delivered by the advancedGrid
extension combined with the powerful ezEditTable plugin.
To get the advancedGrid
extension instance:
var advancedGrid = tf.extension('advancedGrid');where
tf
is an instance of TableFilter
.
Property | Type | Description | Remarks | Example |
---|---|---|---|---|
name | string | name of the extension, it should match the name of the directory and of the file, in this case 'advancedGrid'. |
Check the ezEditTable documentation section in order to see the available properties. |
var tfConfig = { extensions: [{ name: 'advancedGrid' }] }; |
vendor_path | string | this is a mandatory property defining the path to the vendor's ezEditTable library | It can be a URL too ie: 'http://edittable.free.fr/ezEditTable/' | var tfConfig = { extensions: [{ name: 'advancedGrid', vendor_path: 'path/to/ezEditTable' }] }; |
filename | string | filename of the ezEditTable (default - 'ezEditTable.js') plugin |
var tfConfig = { extensions: [{ name: 'advancedGrid', vendor_path: 'path/to/ezEditTable/', filename: 'ezEditTable_min.js' }] }; |
|
load_stylesheet | boolean | if set true it loads the vendor's stylesheet (default - false) |
var tfConfig = { extensions: [{ name: 'advancedGrid', vendor_path: 'path/to/ezEditTable/', filename: 'ezEditTable_min.js', load_stylesheet: true }] }; |
|
stylesheet | string | path/URL to the vendor's stylesheet (default - vendor_path + 'ezEditTable.css') | Note this property includes the filename |
var tfConfig = { extensions: [{ name: 'advancedGrid', vendor_path: 'path/to/ezEditTable/', filename: 'ezEditTable_min.js', load_stylesheet: true, stylesheet: 'path/to/ezEditTable/stylesheet/style.css' }] }; |
The above configuration also includes all the ezEditTable configuration properties listed in the ezEditTable documentation. As an example:
var tfConfig = { extensions: [{ name: 'advancedGrid', vendor_path: 'path/to/ezEditTable/', filename: 'ezEditTable_min.js', load_stylesheet: true, stylesheet: 'path/to/ezEditTable/stylesheet/style.css' // ezEditTable configuration properties below: selectable: true, editable: true, default_selection: 'both', auto_save: false }] };