# Perspective table editing help

**URL:** <https://forum.inductiveautomation.com/t/perspective-table-editing-help/23738>\
**Category:** Ignition Early Access\
**Created:** [March 31, 2019, 6:11pm UTC](https://forum.inductiveautomation.com/t/perspective-table-editing-help/23738 "2019-03-31T18:11:26Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![silverbacknet](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/silverbacknet/32/7385_2.png) [@silverbacknet](https://forum.inductiveautomation.com/u/silverbacknet)\
**Post date:** [April 25, 2019, 11:42pm UTC](https://forum.inductiveautomation.com/t/perspective-table-editing-help/23738/6 "2019-04-25T23:42:13Z")

</div>

Add a set of props.columns corresponding to the number of columns you want to show. In each one, set the field property to the column name, then you can make editable true, resizable true, etc. if you need to programmatically create a dynamic number of columns, you can right click-copy the entire column to get the JSON, then use:

```auto
import json
json.reads

columnJSON = '<json goes here>'
columnSet = []
for i in range(columnCount):
    columnSet.append(json.reads(columnJSON % (<if you want to use basic string transformations>)))
    columnSet[i]['field'] = 'Column Name'

myTable.props.columns = columnSet

```

Note that any columns you choose not to display also won’t show up in props.selection.data[0], in case you want hidden columns with extra information for any reason. A workaround is to give them a width of 0 or 1.

---

_[View the full topic](https://forum.inductiveautomation.com/t/perspective-table-editing-help/23738)._
