Destroy not removing enhancements?
Destroy not removing enhancements?
http://live.datatables.net/jurezova/1/edit?html,css,js,output
I have a button that destroys and recreates a table (Destroy Table in the example). Clicking on the button destroys the table body, but doesn't remove anything from <thead>.
Each time I do this I end up with an extra:
<div class="DataTables_sort_wrapper">Inquriy<span class="DataTables_sort_icon css_right ui-icon ui-icon-triangle-1-n"></span></div>
<span class="DataTables_sort_icon css_right ui-icon ui-icon-triangle-1-n"></span>
Am I doing something incorrectly? How can I clear the <thead>?
Thank you!
Answers
Sounds like a bug with the jQuery UI integration. I'm doing some work in that area at the moment as it happens, I'll take a look at that specific point.
Allan