change tableWrapper div to section
change tableWrapper div to section
In my CSS I'm styling my tables like so:
section table { blah, blah, blah }
However, I want the DataTables tables to match those tables, is there a way to progromatically change the wrapper div to a section?
On line 3400 of version 1.7.5 I manually changed:
[code]
oSettings.nTableWrapper = document.createElement( 'div );
[/code]
to:
[code]
oSettings.nTableWrapper = document.createElement( 'section' );
[/code]
I couldn't find anything in my look through of the code/site/options, so I was wondering if I overlooked something.
section table { blah, blah, blah }
However, I want the DataTables tables to match those tables, is there a way to progromatically change the wrapper div to a section?
On line 3400 of version 1.7.5 I manually changed:
[code]
oSettings.nTableWrapper = document.createElement( 'div );
[/code]
to:
[code]
oSettings.nTableWrapper = document.createElement( 'section' );
[/code]
I couldn't find anything in my look through of the code/site/options, so I was wondering if I overlooked something.
This discussion has been closed.
Replies
DataTables is designed to use HTML4 at this time. Perhaps when HTML5 implementations are more wide spread (and the specification finalised) then I'll incorporate it into the core.
Regards,
Allan