# Saving table - how-to and complications with dataChanged

**URL:** <https://discourse.nodered.org/t/saving-table-how-to-and-complications-with-datachanged/64313>\
**Category:** General\
**Created:** [24 June 2022 02:16 UTC](https://discourse.nodered.org/t/saving-table-how-to-and-complications-with-datachanged/64313 "2022-06-24T02:16:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![stdave](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@stdave](https://discourse.nodered.org/u/stdave)\
**Post date:** [24 June 2022 02:16 UTC](https://discourse.nodered.org/t/saving-table-how-to-and-complications-with-datachanged/64313/1 "2022-06-24T02:16:26Z")

</div>

I have been searching for ways that I can save a table - JSON, CSV whatever. I have a process to save it which seems to work - however - the problem is that the screen edit of the table does not jive with the internal layout. So it saves my original records, not ones added later. My understanding is that the dataEdited, (now dataChanged) apparently needs to be updated every time the table is edited. Has anyone successfully done this? Maybe if I knew how to format the changes in the dataChanged function.

---

<div class="post-metadata">

**Author:** ![stdave](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@stdave](https://discourse.nodered.org/u/stdave)\
**Post date:** [24 June 2022 15:47 UTC](https://discourse.nodered.org/t/saving-table-how-to-and-complications-with-datachanged/64313/2 "2022-06-24T15:47:04Z")

</div>

I seem to have found the answer by looking at the examples section - specifically the "send commands" example.

---

<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:** [8 July 2022 15:47 UTC](https://discourse.nodered.org/t/saving-table-how-to-and-complications-with-datachanged/64313/3 "2022-07-08T15:47:58Z")

</div>

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