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.pngkajolsharma_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.pngScreenshot 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!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Rounding off the Splunk Dashboard Contest

What does a contest-winning Splunk dashboard look like? In this case, it isn't in a browser tab at all. It ...

A Four Part Event Series: AI + Observability: AI Agents, LLMs, Apps, & Infrastructure

AI + Observability: AI Agents, LLMs, Apps, & Infrastructure The rapid evolution of artificial intelligence ...