Dashboards & Visualizations

Hide and show panels on button click

test4u
Path Finder

Hi all,
I know how to hide and show panels using link switcher and radio buttons.
but if there is a html button and we have two two map in a single panel namely->map1,map2
if button is clicked map2 should be displayed otherwise map1 should be displayed.

How to achieve this.
Kindly help

Tags (1)
0 Karma
1 Solution

niketn
Legend

@test4u please check out one of my older answer around similar use case. Do read updated comments as well... As per requested change in the requirements.

https://answers.splunk.com/answers/581652/how-can-i-create-a-button-switcher.html

Please try out and confirm.

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

View solution in original post

0 Karma

niketn
Legend

@test4u please check out one of my older answer around similar use case. Do read updated comments as well... As per requested change in the requirements.

https://answers.splunk.com/answers/581652/how-can-i-create-a-button-switcher.html

Please try out and confirm.

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

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...