# Can't use add rows for integer as the driving property for style customizer?

**URL:** <https://forum.inductiveautomation.com/t/cant-use-add-rows-for-integer-as-the-driving-property-for-style-customizer/26444>\
**Category:** Ignition\
**Tags:** ignition79\
**Created:** [July 10, 2019, 5:06pm UTC](https://forum.inductiveautomation.com/t/cant-use-add-rows-for-integer-as-the-driving-property-for-style-customizer/26444 "2019-07-10T17:06:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bkarabinchak.psi](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bkarabinchak.psi/32/83567_2.png) [@bkarabinchak.psi](https://forum.inductiveautomation.com/u/bkarabinchak.psi)\
**Post date:** [July 10, 2019, 5:06pm UTC](https://forum.inductiveautomation.com/t/cant-use-add-rows-for-integer-as-the-driving-property-for-style-customizer/26444/1 "2019-07-10T17:06:28Z")

</div>

Using Igntion 7.9.1.

I have a integer custom property “displayState” that will be either values 0, 1, or 2. I want to use these to drive the fill area of my component. However, when I try to edit this and add a row for how I want it to display if the value is two, I get this

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/2/251183938a11b8abd84d75e2f061153d0feb56ed.png)  
where the add row button is greyed out. It obviously knows it’s an integer as it has values 0 and 1 listed there. Any ideas why I am not allowed to add a row?

The definition of my custom property if it matters -

```auto
if(!{Root Container.navItems 1.inWindowIsActive} && {Root Container.navItems 1.unreadMail} <= 0,
0,
if({Root Container.navItems 1.inWindowIsActive},
	1,
	2)
)

```

---

<div class="post-metadata">

**Author:** ![bkarabinchak.psi](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bkarabinchak.psi/32/83567_2.png) [@bkarabinchak.psi](https://forum.inductiveautomation.com/u/bkarabinchak.psi)\
**Post date:** [July 10, 2019, 5:11pm UTC](https://forum.inductiveautomation.com/t/cant-use-add-rows-for-integer-as-the-driving-property-for-style-customizer/26444/2 "2019-07-10T17:11:24Z")

</div>

I deleted all styles and tried remaking it and it worked.
