Forum Discussion
How to apply toggle button for JSON themes switch?
Hi MFelix ,
can you let me know what exactly has happened in there? All I could understand is that a shape was placed and with button feature having a field value of colour code which was given in the table it's being switched. Is this what happeneing, or correct me if i've misunderstood.
- MFelix2 years agoSuper User
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.
- Anonymous2 years agoNot applicable
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.