mirror of
https://github.com/DataTables/DataTables.git
synced 2025-02-20 18:54:15 +01:00
- Rendering functions can now be provided for the header cells in the table, which will format HTML in the cells (note only the cells that are identified as the 'control' cell for the column have the renderer applied) and apply any classes needed (thus the renderers should listen for the 'sort' event). - This is done to provide integration options for other frameworks and advanced styling controls. For example, FontAwesome could now easily be used to style a header with sorting icons sourced from the font. - jQuery UI header rendering has been seperated out into its own renderer which is activated by the bJQueryUI initialisation option. This, along with the whole of DataTables' jQuery UI ThemeRoller support will be moved into a plug-in in 1.11 (it is very tempting make that change now, but one major version for the decprecated option is correct I think). This is the last part of the jQuery UI integration that needed to be decoupled from the DataTables core - it can now all be provided by plug-ins. - This fixed issue #153 - Renderers still be to documented.