Table enhancement
Overview
Project lead: Jeremy Sivaneswaran (@jeresiv)
Purpose
Integrates the DataTables plugin into WET providing searching, sorting, filtering, pagination and other advanced features for tables.
Benefits
- Supports searching, sorting, filtering, pagination and other advanced features.
- Conforms to WCAG 2.0 AA
- Uses WAI-ARIA to enhance accessibility
- Progressive enhancement approach
Implementation
Follow the steps described in the working examples.
Examples
Development
The Table enhancement plugin is dependent upon DataTables (GPL v2 license, BSD license).
The code for the tabbed interface is located in several places within the source folder of WET:
- js/workers/tables.js - contains the JavaScript code for the Table enhancement
- js/sass/includes/_tables.scss - contains the CSS for the Table enhancement
- js/sass/includes/_tables-ie.scss - contains the IE7/8 specific CSS for the Table enhancement
- js/images/tables/ - contains the images for the Table enhancement
- js/dependencies/datatables.js - script file for DataTables
- js/dependencies/metadata.js - script file for jQuery Metadata
Known Issues
None at this time.
Version History
References
- Date modified: