# Perspective Table cell view rendering issue

**URL:** <https://forum.inductiveautomation.com/t/perspective-table-cell-view-rendering-issue/93223>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [July 15, 2024, 1:34pm UTC](https://forum.inductiveautomation.com/t/perspective-table-cell-view-rendering-issue/93223 "2024-07-15T13:34:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pgmo](https://avatars.discourse-cdn.com/v4/letter/p/d07c76/32.png) [@pgmo](https://forum.inductiveautomation.com/u/pgmo)\
**Post date:** [July 15, 2024, 1:34pm UTC](https://forum.inductiveautomation.com/t/perspective-table-cell-view-rendering-issue/93223/1 "2024-07-15T13:34:29Z")

</div>

Hi all,  
I'm having the following issue with a table cell rendering as a view. The view is a simple checkbox: changing the checkbox state will update a database table record and trigger a binding refresh of the perspective table data.  
The problem is: just after checkbox clicking, the cell rendering is odd as in the following screenshot (the row just edited is the first one)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/d/0d89cc129deea847f6d173057641c1ed4382f032.png)  
Any suggestion?  
P.S.: I had to use the view with checkbox instead of the native checkbox rendering because with the native solution, operators have to click twice to change the checkbox state and that gets rather annoying after almost 100 clicks!

---

<div class="post-metadata">

**Author:** ![simeonw](https://avatars.discourse-cdn.com/v4/letter/s/4da419/32.png) [@simeonw](https://forum.inductiveautomation.com/u/simeonw)\
**Post date:** [July 15, 2024, 8:42pm UTC](https://forum.inductiveautomation.com/t/perspective-table-cell-view-rendering-issue/93223/2 "2024-07-15T20:42:02Z")

</div>

I assume the first column has **render** set to "auto", rather than "boolean"?

If you have inadvertently added some whitespace to the value, then it will appear exactly as you have described, as a string.

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/0/7002a3c316340f458f08eeea6960b591a053b5e7.png)

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/2/82ac86dabcd5a82a8044f0c96c25fa9aaed7ea59.png)

---

<div class="post-metadata">

**Author:** ![pgmo](https://avatars.discourse-cdn.com/v4/letter/p/d07c76/32.png) [@pgmo](https://forum.inductiveautomation.com/u/pgmo)\
**Post date:** [July 16, 2024, 4:39am UTC](https://forum.inductiveautomation.com/t/perspective-table-cell-view-rendering-issue/93223/3 "2024-07-16T04:39:47Z")

</div>

No @simeonw , render mode is set to _view_, there's a view that's rendering the cell and I explained why I chose that way in my post. Moreover the issue arises whenever the render mode is set to _view_: I experienced the same weird behavior even with views with a _dropdown_: there the first rendering after update was a simple textfield with the new value, dropdown was simply gone. I think that's a general issue that Inductive Automation has with that kind of rendering, unfortunately.

---

<div class="post-metadata">

**Author:** ![simeonw](https://avatars.discourse-cdn.com/v4/letter/s/4da419/32.png) [@simeonw](https://forum.inductiveautomation.com/u/simeonw)\
**Post date:** [July 16, 2024, 5:55am UTC](https://forum.inductiveautomation.com/t/perspective-table-cell-view-rendering-issue/93223/4 "2024-07-16T05:55:03Z")

</div>

Ahh I see. You have an embedded view, but when you click it, the cell is entering edit mode (text field), like any other editable cell would.

Is it not just a matter of disabling the "editable" property on that column? Shouldn't be necessary to have it enabled if you are updating the value in the database.

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/5/85d6b556a72c368b3fb35feda514ad4c9cc57b69.png)

Otherwise, just switch the cells.allowEditOn back to double-click or long-press, as it currently must be set to single-click?
