YUI version 2.6.0
Caveat: Since the DOM is modified, DataTable functionality is bound to break all over the place. Since you're left with effectively a read-only table, it's probably best to just create the table and apply styling by hand.