Is it possible to remove class="dataTable" from datatable and apply our own class. If so, then how to do it ?
I tried Jquery something like this.
$('#sourceDetails').removeClass('dataTable');
But no effect.
Try this
$('#sourceDetails').addClass("NewClassName").removeClass('dataTable');
$('table').removeClass('dataTable');
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With