how do i remove\unset dataTable activation ?

how do i remove\unset dataTable activation ?

KdayanKdayan Posts: 2Questions: 1Answers: 0

Hi all,
How do i remove\unset dataTable activation ?

to show you the idea :

$(function (){
$('#div').DataTable();
})

function diable_dataTable(){

$('#div').unset the data table();
}

<button type="button" name="button" onclick="diable_dataTable()"></button>

Thanks,
K

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,455Questions: 1Answers: 10,465 Site admin
    Answer ✓

    You can destroy a DataTable using the destroy() method.

    Allan

  • KdayanKdayan Posts: 2Questions: 1Answers: 0

    thanks!

This discussion has been closed.