Destroy not removing enhancements?

Destroy not removing enhancements?

jkavenaughjkavenaugh Posts: 1Questions: 1Answers: 0
edited May 2015 in Free community support

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

  • allanallan Posts: 61,667Questions: 1Answers: 10,096 Site admin

    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

This discussion has been closed.