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!

Join Us at the Builder Bar at .conf24 – Empowering Innovation and Collaboration

What is the Builder Bar? The Builder Bar is more than just a place; it's a hub of creativity, collaboration, ...

Combine Multiline Logs into a Single Event with SOCK - a Guide for Advanced Users

This article is the continuation of the “Combine multiline logs into a single event with SOCK - a step-by-step ...

Everything Community at .conf24!

You may have seen mention of the .conf Community Zone 'round these parts and found yourself wondering what ...