# Integer Column display zero in the Grid (Shopware.grid.Panel)

**URL:** <https://forum.shopware.com/t/integer-column-display-zero-in-the-grid-shopware-grid-panel/53353>\
**Category:** Programmierung\
**Created:** [7. Juni 2018 um 22:52 UTC](https://forum.shopware.com/t/integer-column-display-zero-in-the-grid-shopware-grid-panel/53353 "2018-06-07T22:52:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![william](https://avatars.discourse-cdn.com/v4/letter/w/b19c9b/32.png) [@william](https://forum.shopware.com/u/william)\
**Post date:** [7. Juni 2018 um 22:52 UTC](https://forum.shopware.com/t/integer-column-display-zero-in-the-grid-shopware-grid-panel/53353/1 "2018-06-07T22:52:26Z")

</div>

I have a custom plugin to display data from a table eveything is okay expect the integet columns,

the integer columns coming in json list as integer but zero in the Grid

![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/e/e20688fdec2897327f0b1fdf74bc7b17117618fc.png)

I tried everything without any success, I hope to have any hint on how i can display this integer value

Thank you in advanced

---

<div class="post-metadata">

**Author:** ![william](https://avatars.discourse-cdn.com/v4/letter/w/b19c9b/32.png) [@william](https://forum.shopware.com/u/william)\
**Post date:** [8. Juni 2018 um 05:32 UTC](https://forum.shopware.com/t/integer-column-display-zero-in-the-grid-shopware-grid-panel/53353/2 "2018-06-08T05:32:28Z")

</div>

I found the problem, my model propery was in wronge format,

it was

```
**private**  **$user\_id** ;

```

But it should be

```
**private**  **$userId** ;

```

the same for the setter and getter, my issue was solved
