# Can't edit within table

**URL:** <https://forum.inductiveautomation.com/t/cant-edit-within-table/1956>\
**Category:** Ignition\
**Created:** [June 18, 2010, 3:40pm UTC](https://forum.inductiveautomation.com/t/cant-edit-within-table/1956 "2010-06-18T15:40:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlThePal](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/althepal/32/3603_2.png) [@AlThePal](https://forum.inductiveautomation.com/u/AlThePal)\
**Post date:** [June 18, 2010, 3:40pm UTC](https://forum.inductiveautomation.com/t/cant-edit-within-table/1956/1 "2010-06-18T15:40:03Z")

</div>

I have a table with 2 columns. The first contains a string, the second an integer. The second column is set so values can be edited in the table. I can create new entries in the table by pressing a button, which creates a new dataset based on what is already in the table and what is highlighted in another table.

Editing of the cell works as long as the table initially contains some data. However, if the table is blank and I copy a new entry into it, no editing is possible.

Any ideas?

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [June 18, 2010, 4:43pm UTC](https://forum.inductiveautomation.com/t/cant-edit-within-table/1956/2 "2010-06-18T16:43:40Z")

</div>

Can you post a window that demonstrates this behavior? It is important to know that the table stores its column configuration keyed by column name - is your button altering the column names?

---

<div class="post-metadata">

**Author:** ![AlThePal](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/althepal/32/3603_2.png) [@AlThePal](https://forum.inductiveautomation.com/u/AlThePal)\
**Post date:** [June 18, 2010, 8:19pm UTC](https://forum.inductiveautomation.com/t/cant-edit-within-table/1956/3 "2010-06-18T20:19:02Z")

</div>

It turns out that even if the dataset I was copying to the table was initially empty, I was still writing it to the table (despite it having no rows). This seemed to mess up the data types of the columns and meant the system did not allow editing of the column once data was entered.
