Forum Discussion
How to apply toggle button for JSON themes switch?
The color is being used on the conditional formatting, that will make the change of color when you select one option or the other on the button.
But in this case it would be a manual contional approach but not the json theme approach which I was expecting. Can you let me know if there's any possibility where this would be acheived through json themes and not the manual conditional approaches.
Regards,
- MFelix2 years agoSuper User
Hi Anonymous ,
You cannot have Themes being applied using JSON and a button to make the switch between themes.
The Json is an overal setting for your report and can only be setup when you are editing the report not on view mode. So for this to happen you need to have your code changed in a condittional formatting, as you refer manual option.
- Anonymous2 years agoNot applicable
In that case, can you please elobarate the steps of how to add the conditional change of background colour with a button and can that change the bckground of all the pages in the report or only to that specific page?
Regards,