how to draw borders on all table cells?
how to draw borders on all table cells?

is it possible to do this when the table is initialized, or can this be done only with the help of the css? Tell me an example code.
This discussion has been closed.
is it possible to do this when the table is initialized, or can this be done only with the help of the css? Tell me an example code.
Replies
If you are not using a styling framework then the [Styling doc}(https://datatables.net/manual/styling/classes) shows the Datatables styles you can apply to the
table
, for example,cell-border
. If you are using a styling framework, like Bootstrap, then you would apply the style it uses.Kevin
to create a table I wrote code
but the cell border did not appear. What's my mistake?
The class is to be placed on your
table
tag, for example:http://live.datatables.net/yihesusa/1/edit
Kevin
is it possible to change the color of the border of the grid of the table? is it possible to flexibly customize the fonts of the table? by analogy with the adjustment of alignment? in the stylization guide I did not find answers to these questions. Tell me.
Here's the styling page here - it's all done through CSS so just requires adding/removing classes.
Colin
Generated the CSS style and everything seems to be fine, but the cell border in the last right column is not visible. What is the problem?
I give a table view in the attached file
I mean the right border of the cell
and what is remarkable there are borders on "th", and on there is no border on" body td"
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
my test case is http://montaj.vianor-konakovo.ru/goods1.html
I’m still worried about the dualism of the border in the th I do not understand how to remove it
the table cells in the first and last columns have one gray border, but I need all to be black. How to achieve this in my example?