# Unable to pass value in table viewcell

**URL:** <https://forum.inductiveautomation.com/t/unable-to-pass-value-in-table-viewcell/113753>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [February 4, 2026, 9:20am UTC](https://forum.inductiveautomation.com/t/unable-to-pass-value-in-table-viewcell/113753 "2026-02-04T09:20:18Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raphael](https://avatars.discourse-cdn.com/v4/letter/r/edb3f5/32.png) [@Raphael](https://forum.inductiveautomation.com/u/Raphael)\
**Post date:** [February 4, 2026, 9:20am UTC](https://forum.inductiveautomation.com/t/unable-to-pass-value-in-table-viewcell/113753/1 "2026-02-04T09:20:18Z")

</div>

Hello,

I have a table with a viewcell in the last column (the goal is to have un buton for delete the line on the database).  
I followed the instruction in the user manual ([here](https://docs.inductiveautomation.com/docs/8.1/appendix/components/perspective-components/perspective-display-palette/perspective-table/table-column-configurations#embedding-a-view-in-a-table-cell)).  
I don't understand why but I'm unable to pass the value of the cell to the view. I can pass row, rowData, column, etc...

I can just use the rowData but I would like to understand the problem.  
Has anyone else experienced this kind of problem?

The viewcell is currently just a label on whitch I binded the value of the "value" parameter

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/c/bc6ae923999d489cb5dd60559ad8803835275665.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/f/bffb17e916a0d4c7b26fbaa28f2d8094585ff122.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/3/2308f273737e6057428057b517e18542c0e06570.png)

---

<div class="post-metadata">

**Author:** ![David\_Stone](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/david_stone/32/79749_2.png) [@David\_Stone](https://forum.inductiveautomation.com/u/David_Stone)\
**Post date:** [February 4, 2026, 10:21am UTC](https://forum.inductiveautomation.com/t/unable-to-pass-value-in-table-viewcell/113753/2 "2026-02-04T10:21:58Z")

</div>

Do not define the view parameter in your child view, it makes it automatically.

---

<div class="post-metadata">

**Author:** ![Cose\_Peter1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cose_peter1/32/79174_2.png) [@Cose\_Peter1](https://forum.inductiveautomation.com/u/Cose_Peter1)\
**Post date:** [February 4, 2026, 10:36am UTC](https://forum.inductiveautomation.com/t/unable-to-pass-value-in-table-viewcell/113753/3 "2026-02-04T10:36:16Z")

</div>

All configuration seems right. Make sure the param is set to input like shown here.  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/1/01791f151dac69fe45733b0799d1b39939bbba76.png)

Also, have you binded the component to the **value** param?

---

<div class="post-metadata">

**Author:** ![Cose\_Peter1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cose_peter1/32/79174_2.png) [@Cose\_Peter1](https://forum.inductiveautomation.com/u/Cose_Peter1)\
**Post date:** [February 4, 2026, 10:42am UTC](https://forum.inductiveautomation.com/t/unable-to-pass-value-in-table-viewcell/113753/4 "2026-02-04T10:42:27Z")

</div>

Is it possible to display the value being passed without defining the parameter in the child view and binding it to the component(in this case a label component) in the child view?

> [@David\_Stone](#):
>
> Do not define the view parameter in your child view

---

<div class="post-metadata">

**Author:** ![Raphael](https://avatars.discourse-cdn.com/v4/letter/r/edb3f5/32.png) [@Raphael](https://forum.inductiveautomation.com/u/Raphael)\
**Post date:** [February 4, 2026, 11:12am UTC](https://forum.inductiveautomation.com/t/unable-to-pass-value-in-table-viewcell/113753/5 "2026-02-04T11:12:11Z")

</div>

@David_Stone  
I'm not sure to understand. If I don't declare the parameter in my view, the binding will not work. I get a Null reference.

@Cose_Peter1  
The screenshot didn't show the arrow but all the parameters are set as input

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

I tried with the default value when I create a table and it works. But it doesn't work with my data, so may be it's the format that cause this issue. My data come from a script and I change the style dynamically. The rowData has the following format.

```python
rowData = {
	"value": {
		"col1": "some value",
		"col2": "some value",
		"col3": "some value",
		"col4": "some value",
		"col5": "some value",
	},
	"style":{
		"backgroundColor": "some color",
	}
}

```

---

<div class="post-metadata">

**Author:** ![Cose\_Peter1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cose_peter1/32/79174_2.png) [@Cose\_Peter1](https://forum.inductiveautomation.com/u/Cose_Peter1)\
**Post date:** [February 4, 2026, 11:20am UTC](https://forum.inductiveautomation.com/t/unable-to-pass-value-in-table-viewcell/113753/6 "2026-02-04T11:20:00Z")

</div>

I can see that the the **field** in columns is defined as **IdPrt2** , but in your rowData it is col1-col5. The column name should be consistent with the data.

When the column names are setup correctly on the table, you will have this icon show up on the header of the column.  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/e/ceb8a3b482ec9798dac755785767c17421f06967.png)

---

<div class="post-metadata">

**Author:** ![Raphael](https://avatars.discourse-cdn.com/v4/letter/r/edb3f5/32.png) [@Raphael](https://forum.inductiveautomation.com/u/Raphael)\
**Post date:** [February 4, 2026, 11:27am UTC](https://forum.inductiveautomation.com/t/unable-to-pass-value-in-table-viewcell/113753/7 "2026-02-04T11:27:26Z")

</div>

It was only for the example.  
The column name are consistent. And everything is working if I use "rowData" parameter in the viewCell. It's just with "value" parameter that it doesn't work.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [February 4, 2026, 12:17pm UTC](https://forum.inductiveautomation.com/t/unable-to-pass-value-in-table-viewcell/113753/8 "2026-02-04T12:17:59Z")

</div>

IIRC, the value parameter will not pass an object, only a scalar.

---

<div class="post-metadata">

**Author:** ![Chris\_Bingham](https://avatars.discourse-cdn.com/v4/letter/c/e5b9ba/32.png) [@Chris\_Bingham](https://forum.inductiveautomation.com/u/Chris_Bingham)\
**Post date:** [February 4, 2026, 1:16pm UTC](https://forum.inductiveautomation.com/t/unable-to-pass-value-in-table-viewcell/113753/9 "2026-02-04T13:16:57Z")

</div>

I think we’ll benefit from taking a look at your `table.props.data` object. How you structure your data depends on how the data will arrive to the subview.  
Can you sanitize 1 or 2 rows of data and post that object here?  
Also, what version of Ignition are you using?

---

<div class="post-metadata">

**Author:** ![Raphael](https://avatars.discourse-cdn.com/v4/letter/r/edb3f5/32.png) [@Raphael](https://forum.inductiveautomation.com/u/Raphael)\
**Post date:** [February 4, 2026, 1:32pm UTC](https://forum.inductiveautomation.com/t/unable-to-pass-value-in-table-viewcell/113753/10 "2026-02-04T13:32:36Z")

</div>

I did some tests.

Here is the results between 2 differents format

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

My data is structured as follows (first table)

```python
[
  {
    "value": {
      "id": 7593,
      "product_name": "productA",
      "qty": 393,
      "view_cell_content": "ahahah"
    },
    "style":{
      "backgroundColor": "#9eeaf9"
    }
  },
  {
    "value": {
      "id": 1234,
      "product_name": "productB",
      "qty": 150,
      "view_cell_content": "ohoho"
    },
    "style":{
      "backgroundColor": "#9eeaf9"
    }
  }
]

```

I did this because I wanted to color the line in 1 time.

If I modify the structure in this way (2nd table), it works.

```python
[
  {
    "id": {
      "style": {
        "backgroundColor": "#9eeaf9"
      },
      "value": 7593
    },
    "product_name": {
      "style": {
        "backgroundColor": "#9eeaf9"
      },
      "value": "productA"
    },
    "qty": {
      "style": {
        "backgroundColor": "#9eeaf9"
      },
      "value": 393
    },
    "view_cell_content": {
      "style": {
        "backgroundColor": "#9eeaf9"
      },
      "value": "ahahah"
    }
  },
  {
    "id": {
      "style": {
        "backgroundColor": "#9eeaf9"
      },
      "value": 1234
    },
    "product_name": {
      "style": {
        "backgroundColor": "#9eeaf9"
      },
      "value": "productB"
    },
    "qty": {
      "style": {
        "backgroundColor": "#9eeaf9"
      },
      "value": 150
    },
    "view_cell_content": {
      "style": {
        "backgroundColor": "#9eeaf9"
      },
      "value": "ohoho"
    }
  }
]

```

So I think I have to use the second form, but it requires repeating the `backgroundColor` property for every element.

I’m using version 8.1.25. It may be different in newer versions (I haven’t tested).

---

<div class="post-metadata">

**Author:** ![Cose\_Peter1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cose_peter1/32/79174_2.png) [@Cose\_Peter1](https://forum.inductiveautomation.com/u/Cose_Peter1)\
**Post date:** [February 4, 2026, 2:26pm UTC](https://forum.inductiveautomation.com/t/unable-to-pass-value-in-table-viewcell/113753/11 "2026-02-04T14:26:01Z")

</div>

The sort Icon is still not showing on the table header. I'm not sure if you named the column fields right. I might suggest you looking at this thread.

> [@Perspective Table Column Naming](https://forum.inductiveautomation.com/t/perspective-table-column-naming/41208/9):
>
> the ‘field’ value in the column object needs to be the same as one of the names of the columns in your underlying data set. since that example data set doesn’t have a column with the name ‘Dock Door Number’ the table doesn’t know which column in your dataset to pair with the column object with field=‘Dock Door Number’. trying setting the field property in each column object to ‘city’, ‘population’, and ‘country’

---

<div class="post-metadata">

**Author:** ![Chris\_Bingham](https://avatars.discourse-cdn.com/v4/letter/c/e5b9ba/32.png) [@Chris\_Bingham](https://forum.inductiveautomation.com/u/Chris_Bingham)\
**Post date:** [February 4, 2026, 2:28pm UTC](https://forum.inductiveautomation.com/t/unable-to-pass-value-in-table-viewcell/113753/12 "2026-02-04T14:28:58Z")

</div>

~~To elaborate on an earlier answer, you do not NEED to create the `value`, `rowData`, etc. properties as input parameters, they will be passed to the subview from the table automatically, whether you create them within your subview or not. However, it's convenient to build them anyway (at least those that you'll be referencing) so that you can have something to bind to (with intention) inside of the view. Also helps with any reverse-engineering that might be required down-the-road.~~

Edit: It appears you DO need to create any desired parameters in the subview.

---

<div class="post-metadata">

**Author:** ![Raphael](https://avatars.discourse-cdn.com/v4/letter/r/edb3f5/32.png) [@Raphael](https://forum.inductiveautomation.com/u/Raphael)\
**Post date:** [February 4, 2026, 4:46pm UTC](https://forum.inductiveautomation.com/t/unable-to-pass-value-in-table-viewcell/113753/13 "2026-02-04T16:46:24Z")

</div>

The sort icon is not showing because I unchecked the sortable option.

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

Also, I didn’t create the parameters in the viewParams object, but I think they’re mandatory in the view cell.  
I tried deleting them and, as expected, the binding had a null reference.

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

---

<div class="post-metadata">

**Author:** ![Chris\_Bingham](https://avatars.discourse-cdn.com/v4/letter/c/e5b9ba/32.png) [@Chris\_Bingham](https://forum.inductiveautomation.com/u/Chris_Bingham)\
**Post date:** [February 6, 2026, 2:19pm UTC](https://forum.inductiveautomation.com/t/unable-to-pass-value-in-table-viewcell/113753/14 "2026-02-06T14:19:04Z")

</div>

It appears my memory has failed me here... I just tried this as well and saw the same outcome as you. I edited my previous post.  
In my testing, my 'value' param had an additional 'value' property as a key, due to the way I am structuring each row data. I can't say I've ever NOT seen a value property populate.  
To try and catch any columns being incorrectly matched, I typically add a `columns[#].header.title` to each column, which will render a column header as the custom text instead of the field name - provided the field name matches data exactly.
