"cell-border" and cdn generator..
"cell-border" and cdn generator..
Hi,
On the download page (https://datatables.net/download/index) I chose various options and used the css cdn file that was generated (https://cdn.datatables.net/v/bs4/dt-1.10.23/fc-3.3.2/fh-3.1.8/r-2.2.7/datatables.min.css)
Note it has 1.10.23 in it.
I wanted the vertical cell lines to show in the table so i followed this example: https://datatables.net/examples/styling/cell-border.html
With the cdn above cell-borders would not work.
I switched the css file to the one in the sample (https://cdn.datatables.net/1.10.23/css/jquery.dataTables.min.css) and the cell-borders did function.
Does anyone know why the cell-borders class works with the latter file, but not with the first?
Thanks,
garyseven
Answers
We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin
Looks like you are using Bootstrap. It uses a different set of classnames to style the table than the default styling seen in the example you linked. See this Bootstrap Styling doc for details.
Kevin