Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82602

DataTable re-initialization not working

$
0
0

Hello I've been trying the following methods but none is working.

Method 1:
$('#table').DataTable({
retrieve: true,
destroy: true
})

Method 2:
if($.fn.dataTable.isDataTable('#table')) {
$('#table').DataTable().destroy()
$('#table').DataTable({retrieve:true})
} else {
$('#table').DataTable({retrieve:true})
}

Method 3:
$('#table').DataTable().destroy()
$('#table').DataTable({retrieve:true})

Please help, thank you!


Viewing all articles
Browse latest Browse all 82602

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>