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.
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.
to create a table I wrote code
"order": [[ 0, "desc" ]],
// "ajax": "proc.php"
but the cell border did not appear. What's my mistake?
The class is to be placed on your table tag, for example:
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.
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.
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?
It looks like you're new here. If you want to get involved, click one of these buttons!
DataTables designed and created by SpryMedia Ltd.
SpryMedia Ltd is registered in Scotland, company no. SC456502.