# Use Tabulator examples in Node-Red

**URL:** <https://discourse.nodered.org/t/use-tabulator-examples-in-node-red/42217>\
**Category:** General\
**Created:** [7 March 2021 20:11 UTC](https://discourse.nodered.org/t/use-tabulator-examples-in-node-red/42217 "2021-03-07T20:11:57Z")\
**Posts on this page:** 1\
**Showing post:** 6

<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:** [8 March 2021 17:08 UTC](https://discourse.nodered.org/t/use-tabulator-examples-in-node-red/42217/6 "2021-03-08T17:08:46Z")

</div>

Hi Francesco,

your task isn't easy, and [asked before](https://discourse.nodered.org/t/get-data-from-ui-table/41440/5).

- you use the standard method, collecting your data in context and send the whole updated table to the dashboard in an array
- you use commands to like "addRow" to add new data. But then your data only exits in tabulator and will soon disappear as the dashboard is only passing the commands to tabulator. So you have to cache the data too.

But there is help 😉

[https://flows.nodered.org/flow/35d0480ce9151b2a722fa9d185a37825](https://flows.nodered.org/flow/35d0480ce9151b2a722fa9d185a37825)

You have to pass your data through this subflow. Everything under a specific property will be added to the table and stored. By sending `msg.payload.command='getTable';` you will get all your data.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/8/18113b159a1fe9c69a1f82d5751685fac9439250.png)

the ui-control is used to update/refresh your table on connects and tab changes

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/a/ca085f5fa6bdc5d0a1818378ab068ec23f5bd1fd.png)

- Tabulator: the tabulator formatting JSON
- the msg property where your data comes in (NOT payload!) like `msg.state.col1="This is row 1"`
- a index property to identify rows (to be able to overwrite / update rows)
- maxRows and maxStore to limit rows in tabulator and in context store
- The Dashboard Tab name (to trigger redraws only if this tab is active)
- a json where and who to store your data.

I haven't imported your flow, sorry, no time.

---

_[View the full topic](https://discourse.nodered.org/t/use-tabulator-examples-in-node-red/42217)._
