# Table selection info

**URL:** <https://forum.inductiveautomation.com/t/table-selection-info/6690>\
**Category:** Ignition\
**Created:** [June 11, 2013, 7:05pm UTC](https://forum.inductiveautomation.com/t/table-selection-info/6690 "2013-06-11T19:05:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jim\_lapratt](https://avatars.discourse-cdn.com/v4/letter/j/cc9497/32.png) [@jim\_lapratt](https://forum.inductiveautomation.com/u/jim_lapratt)\
**Post date:** [June 11, 2013, 7:05pm UTC](https://forum.inductiveautomation.com/t/table-selection-info/6690/1 "2013-06-11T19:05:37Z")

</div>

In a table how can I set one column as editable if a user is part of a certain role. I can get the roll with something like this:

```auto
lookup({[System]Client/User/RolesDataSet}, "MyRole", "", 0, 0) != ""
```

How do I set that to allow edit for one column?

Next question,

If I have table set to multiple select how do I get the record ID numbers of all the rows selected? Wish to feed this info into a filter for another table.

---

<div class="post-metadata">

**Author:** ![Robert.McKenzie](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/robert.mckenzie/32/4134_2.png) [@Robert.McKenzie](https://forum.inductiveautomation.com/u/Robert.McKenzie)\
**Post date:** [July 12, 2013, 11:54pm UTC](https://forum.inductiveautomation.com/t/table-selection-info/6690/2 "2013-07-12T23:54:54Z")

</div>

Once you have made a change to the table properties, you can set up a Cell Update binding on the Column Attributes Data property. Just bind the appropriate cell to a dynamic property that holds whether the current user has the required role.

You can get a list of the selected rows with the tables getSelectedRows() function. More on it here: [localhost:8088/main/system/help/ … itable.htm](http://localhost:8088/main/system/help/tables_pmitable.htm)
