This content has been marked as final. Show 2 replies
Hello,1 person found this helpful
Enclose your data with some span tag and give it some class based on your data. Then you can apply whatever style you want using CSS.
For e.g. if calendar query is as
and if I have two departments A and B, then I will write some CSS for classes cls-A and cls-B to get required back-ground colors. Hope it helps.
SELECT '<span class="cls-'||dept||'">'||first_name||' '||last_name||'</span>' Name, doj hiredate from employee
Hari, thanks for your help. At first I went with what you did too but then I found a better way. I ended up using <span> tags in a custom column format to get the same effect.