# Text Field binded to a table cell not showing data

**URL:** <https://forum.inductiveautomation.com/t/text-field-binded-to-a-table-cell-not-showing-data/94634>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [August 14, 2024, 8:19am UTC](https://forum.inductiveautomation.com/t/text-field-binded-to-a-table-cell-not-showing-data/94634 "2024-08-14T08:19:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alejandro\_Alaco](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/alejandro_alaco/32/59849_2.png) [@Alejandro\_Alaco](https://forum.inductiveautomation.com/u/Alejandro_Alaco)\
**Post date:** [August 14, 2024, 8:19am UTC](https://forum.inductiveautomation.com/t/text-field-binded-to-a-table-cell-not-showing-data/94634/1 "2024-08-14T08:19:38Z")

</div>

Hello!,

I just binded a text field to a table cell with this expression:

```python
{..../TablaInventario.props.data}[{this.custom.selectedRow}]['Activo']

```

where the text field this.custom.selectedRow == 0 (first row)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/a/0aa2a7c8b3801ae53a71ac6d5f435f3fb8f1164b.png)

Activo is the name of 1st column

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/5/05b847530cfdfe04a3c32872f481185566a14c5a.png)

i getting this error

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/9/19a0c72f01edeb6b3946f1109e93d24e159f6f24.png)

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

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

The value 500470725 is right...I don´t know why is not showing on the text field.

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [August 14, 2024, 9:24am UTC](https://forum.inductiveautomation.com/t/text-field-binded-to-a-table-cell-not-showing-data/94634/3 "2024-08-14T09:24:12Z")

</div>

Is the TablaInventario.props.data a dataset or an array?

It looks like its already selecting the 5004... with the just [0]. so the ['Activo'] is casing the error

---

<div class="post-metadata">

**Author:** ![Alejandro\_Alaco](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/alejandro_alaco/32/59849_2.png) [@Alejandro\_Alaco](https://forum.inductiveautomation.com/u/Alejandro_Alaco)\
**Post date:** [August 14, 2024, 9:27am UTC](https://forum.inductiveautomation.com/t/text-field-binded-to-a-table-cell-not-showing-data/94634/4 "2024-08-14T09:27:56Z")

</div>

Hello Victor, it is a dataset  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/0/c0b3bab0c55b6a521d15b40eec1ddc21adfb572c.png)

Later on can be modified through a multiselect filter.

---

<div class="post-metadata">

**Author:** ![Chris\_Murphy](https://avatars.discourse-cdn.com/v4/letter/c/c5a1d2/32.png) [@Chris\_Murphy](https://forum.inductiveautomation.com/u/Chris_Murphy)\
**Post date:** [August 14, 2024, 9:30am UTC](https://forum.inductiveautomation.com/t/text-field-binded-to-a-table-cell-not-showing-data/94634/5 "2024-08-14T09:30:44Z")

</div>

in the expression language you need to use a slightly different syntax on a datatable. -\> datatable[row,column]

```python
{..../TablaInventario.props.data}[{this.custom.selectedRow},'Activo']

```

---

<div class="post-metadata">

**Author:** ![Alejandro\_Alaco](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/alejandro_alaco/32/59849_2.png) [@Alejandro\_Alaco](https://forum.inductiveautomation.com/u/Alejandro_Alaco)\
**Post date:** [August 14, 2024, 9:31am UTC](https://forum.inductiveautomation.com/t/text-field-binded-to-a-table-cell-not-showing-data/94634/6 "2024-08-14T09:31:56Z")

</div>

Yeah!, that´s it, thank you Chris.  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/3/63bb2c7527867575819e1a71a4941562a95488ad.png)
