# Ui-table supports ui\_control

**URL:** <https://discourse.nodered.org/t/ui-table-supports-ui-control/18870>\
**Category:** Dashboard\
**Created:** [6 December 2019 16:05 UTC](https://discourse.nodered.org/t/ui-table-supports-ui-control/18870 "2019-12-06T16:05:57Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![Christian-Me](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/christian-me/32/10774_2.png) [@Christian-Me](https://discourse.nodered.org/u/Christian-Me)\
**Post date:** [6 July 2020 14:46 UTC](https://discourse.nodered.org/t/ui-table-supports-ui-control/18870/14 "2020-07-06T14:46:01Z")

</div>

Hi Andy,

Rows is not a JavaScript object per se it is a **component** which can not be transferred to a JSON formatted sting. You can/should access the data by the included methods.

> **[Tabulator - Component Objects](https://tabulator.info/docs/4.0/components)**
>
> Component objects allow you to interact directly with the components that make up your tables, such as rows, columns and cells

This is why the send method fails.

You can pick the relevant data by using the methods in a new object and send this back to the runtime.

Here is an example for the cell component

> [@Examples for node-red-node-ui-table](https://discourse.nodered.org/t/examples-for-node-red-node-ui-table/14256/81):
>
> Yes ... isn't too difficult. You need a callback function to send the edited data back to Node-RED. Best is to define one for the hole table independent of the type of editor defined for the column: msg.ui\_control.tabulator.cellEdited. function(cell){ this.send({ ui\_control:{callback:'cellEdited'}, payload:cell.getValue(), oldValue:cell.getOldValue(), field:cell.getColumn().getField(), id:cell.getRow().getCell('id').getValue() }); …

So your error is not directly related to the loopback issue - your error is caused by trying to convert a component to a json string.

---

_[View the full topic](https://discourse.nodered.org/t/ui-table-supports-ui-control/18870)._
