# Calendar cell background color/icon binding

**URL:** <https://forum.inductiveautomation.com/t/calendar-cell-background-color-icon-binding/4616>\
**Category:** Ignition\
**Created:** [June 12, 2012, 4:59pm UTC](https://forum.inductiveautomation.com/t/calendar-cell-background-color-icon-binding/4616 "2012-06-12T16:59:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlexW](https://avatars.discourse-cdn.com/v4/letter/a/b5a626/32.png) [@AlexW](https://forum.inductiveautomation.com/u/AlexW)\
**Post date:** [June 12, 2012, 4:59pm UTC](https://forum.inductiveautomation.com/t/calendar-cell-background-color-icon-binding/4616/1 "2012-06-12T16:59:45Z")

</div>

Hi,

Is there a way of binding the background color of individual cells in the calendar component? I.e I’d like to change the color or icon of a calendar cell depending on if there was a record created for that day (I have a report that requires manual input).

I can easily bind the foreground color of the selected or latched date using a ‘SELECT COUNT’ style statement but am not sure about how to do the non-selected cells.

Thoughts on how to do this?

Regards

Alex

---

<div class="post-metadata">

**Author:** ![James.Lorenz](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/james.lorenz/32/3290_2.png) [@James.Lorenz](https://forum.inductiveautomation.com/u/James.Lorenz)\
**Post date:** [June 12, 2012, 9:06pm UTC](https://forum.inductiveautomation.com/t/calendar-cell-background-color-icon-binding/4616/2 "2012-06-12T21:06:54Z")

</div>

There is no way to do that currently, unfortunately. Perhaps you could add an event for each of the days that have a record, call it something like “record created”, and give the text a certain displayColor.

---

<div class="post-metadata">

**Author:** ![AlexW](https://avatars.discourse-cdn.com/v4/letter/a/b5a626/32.png) [@AlexW](https://forum.inductiveautomation.com/u/AlexW)\
**Post date:** [June 12, 2012, 10:23pm UTC](https://forum.inductiveautomation.com/t/calendar-cell-background-color-icon-binding/4616/3 "2012-06-12T22:23:52Z")

</div>

thanks James
