'why datatables.net-bs4 is not improving table appearance?
I am trying to improve the appearance of an HTML table using datatables.net-bs4 package. I am loading it as mentioned on the npm website as follows:
var $ = require('jquery');
require( 'datatables.net-bs4' )( window, $ );
Then using it as follows:
$('#go_table').DataTable({
responsive: true
});
but the table looks ugly (see screenshot below). I made sure that jquery (3.5.1) is installed. I will appreciate any suggestions to fix this error. Thanks
Solution 1:[1]
is not error but you did't load css style.
~datatables.net-bs4/css/dataTables.bootstrap4.min.css
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | yuanganteng |

