DataTables 3 development is progressing well, but in the meantime, this is a patch release that has particular focus on the column width calculations, but also addresses a few other issues.
Updated
columnTitleTag option which can be used to change the wrapper element type for the title / order display in the column header cell. It is span by default, and can be made a div using this option. This option is temporary and the default will be div for v3
Fixes
- When calculation column widths, content from a
script tag should not be included.
- Table child elements should conform of HTML specification
- Encoded entities could cause column width auto-calculation errors
- Improving auto column width calculations - allow removed HTML to wrap
- Bootstrap 5 with a
table-responsive wrapper shouldn't change the top/bottom margin of the layout rows.
- Bootstrap 5 styling with some themes could cause the header to grow vertically.
- If using
ajax.submitAs = 'json' the contentType for the request is now automatically set to be application/json; charset=utf-8.
- Leave HTML in when calculating the column widths for the table
Download DataTables 2.3.6
]]>