I’m using mDataTable with local data. When I want to update the dataset I use
destroy() and create a new datatable at its place.
There are two things sometimes run into:
<div id="myTablePlaceholder" />and
$('#myTablePlaceholder').mDatatable(options);is then impossible. Can you confirm if this is the desired behavior?
mDatatable destroy method revert the state of the container element. Please check the sample code here;
currently destroy method does not reset localStorage state. We will fix it.
You must be logged in to reply to this topic.