I am using angular 4 with data table ... Right side scroll bar is not working. When I add this the in my data table I am getting this error. how can I solve this?
this is my code
$(document).ready(function() {
$('#example').DataTable( {
"scrollX": true
} );
} );
<table id="example" class="display nowrap" cellspacing="0" width="100%">
I am getting a message in an alert on my browser "DataTables warning: table id=example - Cannot reinitialise DataTable. For more information"
I am using this data table enter link description here
angularjsthen why you initializescrollxusing ajquery? - Ketan Modi