# Get data from node-red-node-ui-table

**URL:** <https://discourse.nodered.org/t/get-data-from-node-red-node-ui-table/77690>\
**Category:** General\
**Created:** [18 April 2023 16:01 UTC](https://discourse.nodered.org/t/get-data-from-node-red-node-ui-table/77690 "2023-04-18T16:01:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AutomationTeam-ATeam](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/automationteam-ateam/32/74550_2.png) [@AutomationTeam-ATeam](https://discourse.nodered.org/u/AutomationTeam-ATeam)\
**Post date:** [18 April 2023 16:01 UTC](https://discourse.nodered.org/t/get-data-from-node-red-node-ui-table/77690/1 "2023-04-18T16:01:00Z")

</div>

Hi all  
For my project I would need to get the data present in a table of the ui-table node.  
Reading the [tabulator documentation](https://tabulator.info/docs/5.4/update#retrieve-data) I found the getData command which seems to do just for me.  
Unfortunately at the moment I'm not able to use it, I managed to use the other commands such as setFilter, addRow and deleteRow but the getData command really doesn't work.  
Can anyone tell me why?

I'm using the command like this

```auto
[{"id":"de2c6c81b2ec7895","type":"inject","z":"c7385e40ec885b88","name":"setFilter","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":170,"y":4440,"wires":[["a8353248b6751851"]]},{"id":"a8353248b6751851","type":"change","z":"c7385e40ec885b88","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"command\":\"setFilter\",\"arguments\":[\"_field\",\"=\",\"AL_26\"]}","tot":"json"}],"action":"","property":"","from":"","to":"","reg":false,"x":400,"y":4440,"wires":[["dd3aa6266a890940"]]},{"id":"e9d002542953587d","type":"inject","z":"c7385e40ec885b88","name":"clearFilter","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":180,"y":4480,"wires":[["143bb4c116ed342c"]]},{"id":"143bb4c116ed342c","type":"change","z":"c7385e40ec885b88","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"command\":\"setFilter\",\"arguments\":[]}","tot":"json"}],"action":"","property":"","from":"","to":"","reg":false,"x":400,"y":4480,"wires":[["dd3aa6266a890940"]]},{"id":"5b79b10dc5f01539","type":"inject","z":"c7385e40ec885b88","name":"getData I hope :( ","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":200,"y":4540,"wires":[["182978d006fb74f6"]]},{"id":"182978d006fb74f6","type":"change","z":"c7385e40ec885b88","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"command\":\"getData\"}","tot":"json"}],"action":"","property":"","from":"","to":"","reg":false,"x":400,"y":4540,"wires":[["dd3aa6266a890940"]]},{"id":"dd3aa6266a890940","type":"ui_table","z":"c7385e40ec885b88","group":"b4dbdd58e318a538","name":"All Var / Click for Add","order":1,"width":13,"height":8,"columns":[{"field":"id","title":"ID","width":"8%","align":"left","formatter":"plaintext","formatterParams":{"target":"_blank"}},{"field":"_field","title":"field","width":"25%","align":"left","formatter":"plaintext","formatterParams":{"target":"_blank"}},{"field":"_measurement","title":"description","width":"65%","align":"left","formatter":"plaintext","formatterParams":{"target":"_blank"}}],"outputs":1,"cts":true,"x":700,"y":4360,"wires":[["913fdb876f80c467"]]},{"id":"913fdb876f80c467","type":"debug","z":"c7385e40ec885b88","name":"debug 38","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":880,"y":4360,"wires":[]},{"id":"65451f128399dbc9","type":"inject","z":"c7385e40ec885b88","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"[{\"result\":\"_result\",\"_field\":\"AL_26\",\"_measurement\":\"$hmi_type=alarm;26\",\"id\":0},{\"result\":\"_result\",\"_field\":\"AL_27\",\"_measurement\":\"$hmi_type=alarm;27\",\"id\":1},{\"result\":\"_result\",\"_field\":\"AL_28\",\"_measurement\":\"$hmi_type=alarm;28\",\"id\":2},{\"result\":\"_result\",\"_field\":\"AL_29\",\"_measurement\":\"$hmi_type=alarm;29\",\"id\":3}]","payloadType":"json","x":170,"y":4360,"wires":[["dd3aa6266a890940"]]},{"id":"b4dbdd58e318a538","type":"ui_group","name":"All Variable","tab":"57919ce9323b6745","order":2,"disp":true,"width":"13","collapse":false,"className":""},{"id":"57919ce9323b6745","type":"ui_tab","name":"Report Influx","icon":"dashboard","order":1,"disabled":false,"hidden":false}]

```

But in the debugger neither errors nor messages appear when I make an injection

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/b/7b65ac898824789f2feae1ff4c07b503f05eaece.png)

While I expect this data.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/1/519e79132fa14aae938a3ad9a99288dbf94eb832.png)

---

<div class="post-metadata">

**Author:** ![AutomationTeam-ATeam](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/automationteam-ateam/32/74550_2.png) [@AutomationTeam-ATeam](https://discourse.nodered.org/u/AutomationTeam-ATeam)\
**Post date:** [26 April 2023 12:48 UTC](https://discourse.nodered.org/t/get-data-from-node-red-node-ui-table/77690/2 "2023-04-26T12:48:48Z")

</div>

Is there anyone who had a similar problem to mine?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [25 June 2023 12:49 UTC](https://discourse.nodered.org/t/get-data-from-node-red-node-ui-table/77690/3 "2023-06-25T12:49:41Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
