Dashboards & Visualizations

adding a grid to table

kajolsharma
Path Finder

Hi, I hav a table below to which I want to add the gridlines. It is controlled by the css code below:

kajolsharma_0-1631106890547.png

 Can anybody suggest?

 

 

table td > a,table td > a:hover,header{
    color:#fff
}
/* [47] */
.table-chrome,.table-chrome .sorts a,.table-chrome .sorts a:hover{
    color:white!important;
    border:2px solid black;
}
/* [48] */
.table-chrome > thead > tr > th{
    background-image:none;
    background-color:transparent!important;
    border:2px solid black;
    font-size: medium;
    text-align:-webkit-auto;
}
/* background colour for tables: Status volume & alert breaches */
/* [49] */
.table-chrome.table-striped > tbody > tr.odd > td,.table-chrome.table-striped > tbody > tr.even > td{
//    background-color:#393a4b;
    padding-top:1px;
    border-color:transparent;
    text-align:auto;
}
/* [50] */
tr.shared-resultstable-resultstablerow.odd, tr.shared-resultstable-resultstablerow.even {
    background: none;
}

 

Labels (2)
0 Karma

kamlesh_vaghela
SplunkTrust
SplunkTrust

@kajolsharma 

Have you tried by adding this css?

tr {
    border: 1px solid white;
}

 

Screenshot 2021-09-26 at 11.28.52 PM.png

 

KV 

 

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

How to Break a Kubernetes Pod on Purpose and Let the AI Troubleshooting Agent Find ...

Let's say I've just rolled out a Kubernetes Deployment with a typo in the image tag. Nothing explodes. The pod ...

Splunk Add-on for Microsoft Windows 11.0.3: Parse Once, Search Faster

The updated Splunk Add-on for Microsoft Windows helps customers search Windows events faster by reducing ...

What's New in Splunk Enterprise Security 8.8 and Beyond

Threats move at machine speed. Keeping up should not depend on having the biggest budget, the largest team, or ...