# What is this property references?

**URL:** <https://forum.inductiveautomation.com/t/what-is-this-property-references/20865>\
**Category:** Ignition\
**Tags:** ignition79\
**Created:** [November 14, 2018, 7:36pm UTC](https://forum.inductiveautomation.com/t/what-is-this-property-references/20865 "2018-11-14T19:36:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bkarabinchak.psi](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bkarabinchak.psi/32/83567_2.png) [@bkarabinchak.psi](https://forum.inductiveautomation.com/u/bkarabinchak.psi)\
**Post date:** [November 14, 2018, 7:36pm UTC](https://forum.inductiveautomation.com/t/what-is-this-property-references/20865/1 "2018-11-14T19:36:43Z")

</div>

I’m looking through old code and I see this

try({Root Container.Table\_Items.data}[{Root Container.Table\_Items.selectedRow}, “ID”], -1)

I think undestand semantically whats going on, it’s trying to get the selected row off the table or use -1 if nothing is selected. But What is with the brackets around {Root Container.Table\_Items.selectedRow}? And the “ID” string? Also I did not see selectedRow as a property of Table\_Items, is that inherited from the table template?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [November 14, 2018, 7:44pm UTC](https://forum.inductiveautomation.com/t/what-is-this-property-references/20865/2 "2018-11-14T19:44:57Z")

</div>

> [@bkarabinchak.psi](#):
>
> `{Root Container.Table_Items.data}[{Root Container.Table_Items.selectedRow}, "ID"]`

`{Root Container.Table_Items.data}` pulls in a dataset  
`[{Root Container.Table_Items.selectedRow}, "ID"]` addresses a specific value in that dataset - by row, column. The row reference is dynamic, and comes from the 'Selected Row' property of `Table_Items`, as you guessed.  
The `try` construct around the entire thing does exactly what you suspected.

---

<div class="post-metadata">

**Author:** ![bkarabinchak.psi](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bkarabinchak.psi/32/83567_2.png) [@bkarabinchak.psi](https://forum.inductiveautomation.com/u/bkarabinchak.psi)\
**Post date:** [November 14, 2018, 8:31pm UTC](https://forum.inductiveautomation.com/t/what-is-this-property-references/20865/3 "2018-11-14T20:31:36Z")

</div>

Thanks, that helped.
