# Perspective Table editable checkbox requires 2 clicks

**URL:** <https://forum.inductiveautomation.com/t/perspective-table-editable-checkbox-requires-2-clicks/48129>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [June 23, 2021, 6:34pm UTC](https://forum.inductiveautomation.com/t/perspective-table-editable-checkbox-requires-2-clicks/48129 "2021-06-23T18:34:33Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![drojas](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/drojas/32/3403_2.png) [@drojas](https://forum.inductiveautomation.com/u/drojas)\
**Post date:** [June 23, 2021, 6:34pm UTC](https://forum.inductiveautomation.com/t/perspective-table-editable-checkbox-requires-2-clicks/48129/1 "2021-06-23T18:34:33Z")

</div>

Does anyone know of a better method for having a simple checkbox on a perspective table that doesn’t require the user to perform 2 clicks to change the value? As of 8.1.4, you have to click once to select the cell and then click again to actually change the value. Do I need to utilize an embedded view of a checkbox instead?

For what it’s worth, the code to update the table’s data property is in the onEditCellCommit event. I tried running the code within the onEditCellStart, but that didn’t work. And the onRowClick event won’t tell me which column was clicked. I then tried onSelectionChange to detect row and column selected and I would change/update the value myself, but the field is a boolean and when you mark the “editable” property to false, it grays out the checkbox and adds a ghostbuster cursor.

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

---

<div class="post-metadata">

**Author:** ![salbrechtsen](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/salbrechtsen/32/18660_2.png) [@salbrechtsen](https://forum.inductiveautomation.com/u/salbrechtsen)\
**Post date:** [June 29, 2021, 4:34pm UTC](https://forum.inductiveautomation.com/t/perspective-table-editable-checkbox-requires-2-clicks/48129/2 "2021-06-29T16:34:48Z")

</div>

I did the same thing with the onSelectionChange event but would also like to know how to style the checkbox so it still shows blue (or some other color) and does not have the disabled cursor. Perhaps someone at IA can point us to the right configuration for styling?

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [October 2, 2021, 4:38pm UTC](https://forum.inductiveautomation.com/t/perspective-table-editable-checkbox-requires-2-clicks/48129/3 "2021-10-02T16:38:19Z")

</div>

Bump! Anyone got any ideas on this?

---

<div class="post-metadata">

**Author:** ![drojas](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/drojas/32/3403_2.png) [@drojas](https://forum.inductiveautomation.com/u/drojas)\
**Post date:** [October 2, 2021, 5:06pm UTC](https://forum.inductiveautomation.com/t/perspective-table-editable-checkbox-requires-2-clicks/48129/4 "2021-10-02T17:06:28Z")

</div>

I had to create a small checkbox view and change the column to render as a view. The checkbox view has onClick event to call a message handler that updates the table data. Looks nicer because I made the checkbox bigger than normal. But I feel that this functionality should be baked in to the table code.

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/3/b3bbd7938bd6c3e8e78cd18ffe68ad3f8cf23d81.png)

---

<div class="post-metadata">

**Author:** ![awaege1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/awaege1/32/28922_2.png) [@awaege1](https://forum.inductiveautomation.com/u/awaege1)\
**Post date:** [October 25, 2021, 8:55pm UTC](https://forum.inductiveautomation.com/t/perspective-table-editable-checkbox-requires-2-clicks/48129/5 "2021-10-25T20:55:54Z")

</div>

Does anyone know if there is a formal feature request for this?

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [March 16, 2023, 10:37pm UTC](https://forum.inductiveautomation.com/t/perspective-table-editable-checkbox-requires-2-clicks/48129/6 "2023-03-16T22:37:52Z")

</div>

See [Editing Perspective table with allowEditOn single-click still takes two clicks - #3 by Transistor](https://forum.inductiveautomation.com/t/editing-perspective-table-with-allowediton-single-click-still-takes-two-clicks/30446/3).
