when scrolling is enabled, the table is split up into three individual tables (you can't cross browser, reliably just scroll the TBODY sadly): the header, footer and body. And since only one table can have the #example ID, that is left on the body. So you need to generalise the selector a bit more (.dataTable for example).
Poking around in Firebug / Inspector might be of interest to see the DOM that DataTables sets up.
Replies
[code]
#example thead th
[/code]
when scrolling is enabled, the table is split up into three individual tables (you can't cross browser, reliably just scroll the TBODY sadly): the header, footer and body. And since only one table can have the #example ID, that is left on the body. So you need to generalise the selector a bit more (.dataTable for example).
Poking around in Firebug / Inspector might be of interest to see the DOM that DataTables sets up.
Allan