Dashboards & Visualizations

Issue with CSS and JS

shrinkhalarana
Engager

I have created one dashboard with using JS and CSS but the dashboard is not working as per design. That dashboard have multiple tabs and subtabs but when I refresh that dashboard it by default execute the subtabs. 

shrinkhalarana_0-1592201613106.png

It should look like this but when I refresh it 

shrinkhalarana_1-1592201859680.png

 

Labels (1)
0 Karma
1 Solution

niketn
Legend

@shrinkhalarana Try one of my answers using Link Input displayed as Tabs. This way you can set/unset tokens on Link input <change> event handler and then use depends and rejects for respective tabs/panels/underlying search query. All using Simple XML with CSS extension (no JS required)

https://community.splunk.com/t5/Dashboards-Visualizations/How-can-we-create-Tabs-using-Link-List-in-...

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"

View solution in original post

0 Karma

niketn
Legend

@shrinkhalarana Try one of my answers using Link Input displayed as Tabs. This way you can set/unset tokens on Link input <change> event handler and then use depends and rejects for respective tabs/panels/underlying search query. All using Simple XML with CSS extension (no JS required)

https://community.splunk.com/t5/Dashboards-Visualizations/How-can-we-create-Tabs-using-Link-List-in-...

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...