In my app I have a calendar view where I would to format the labels color based on city name.
How could I do?
Solved! Go to Solution.
To configure colors of events, in the calendar view options, there is a Category option.
Just add in your table a virtual column named color, with a Color type and put the Color column in the category parameter of the view.
You can return these colors : Black, Blue, Green, Orange, Purple, Red, Yellow, and White.
As a formula for the Color column, you can put a conditional, like : If([city] = "Paris", "Green", if([city] ="Lausanne" , "Red" , etc, ) )
For the label specifically, I don't think we can edit the color.
To configure colors of events, in the calendar view options, there is a Category option.
Just add in your table a virtual column named color, with a Color type and put the Color column in the category parameter of the view.
You can return these colors : Black, Blue, Green, Orange, Purple, Red, Yellow, and White.
As a formula for the Color column, you can put a conditional, like : If([city] = "Paris", "Green", if([city] ="Lausanne" , "Red" , etc, ) )
For the label specifically, I don't think we can edit the color.
User | Count |
---|---|
26 | |
25 | |
25 | |
19 | |
17 |