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

Setting table properties after it has been initialized

$
0
0
// Initializing all tables of class "dataTable"
$('.dataTable').dataTable({
"sPaginationType" : "full_numbers"
});

....
....
....

// Later for a given table I need to set some specific values. when I do this, I get an error that the table has already been initialized
$("#testTable").dataTable({
"iDisplayLength" : 50,
"bAutoWidth" : false
});

Question - How can I set these properties after a table has been initialized?

Viewing all articles
Browse latest Browse all 82273

Trending Articles



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