# \[Solved\] | Table Node - Not updating without a page refresh?

**URL:** <https://discourse.nodered.org/t/solved-table-node-not-updating-without-a-page-refresh/100504>\
**Category:** Dashboard\
**Created:** [5 March 2026 06:32 UTC](https://discourse.nodered.org/t/solved-table-node-not-updating-without-a-page-refresh/100504 "2026-03-05T06:32:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dougle03](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dougle03/32/32979_2.png) [@dougle03](https://discourse.nodered.org/u/dougle03)\
**Post date:** [5 March 2026 06:32 UTC](https://discourse.nodered.org/t/solved-table-node-not-updating-without-a-page-refresh/100504/1 "2026-03-05T06:32:52Z")

</div>

Hi all,  
I'm using the node-red-node-ui-table v0.4.5  
NodeRed v4.1.5

I'm feeding it an array that does display, however it fails to update without refreshing the page. I know updates are being send to the ui node but nothing in the table unless I refresh the page. All other elements in my dashboard update as new data is issued, it's just the table that refuses to live-update.

Is this just a limitation of the node, or am I doing something wrong?

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

The dashboard is data from the Trading 212 API so unable to do a complete screenshot without substantial redactions... 🤗

Below is the function node that generates the array for the table node.

```auto
// Get stored history (or start empty)
let history = flow.get("numberHistory") || [];

// Make sure incoming value is a number
let value = Number(msg.payload);
if (isNaN(value)) {
    return null;
}

// Add new value to the front
history.unshift({
    "Time": new Date().toLocaleTimeString('en-GB', { hour12: false }),
    "P&L Change": Number(value.toFixed(2))
});

// Keep only last 100 entries
if (history.length > 100) {
    history.pop();
}

// Save back to flow context
flow.set("numberHistory", history);

// Send entire array to table
msg.payload = history;
return msg;

```

It is fed with a simple number value msg.payload

Thanks,

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [5 March 2026 07:35 UTC](https://discourse.nodered.org/t/solved-table-node-not-updating-without-a-page-refresh/100504/2 "2026-03-05T07:35:37Z")

</div>

Maybe this topic and the ui-table examples will help you. [Node-red-ui-table don't refresh automatically - #2 by E1cid](https://discourse.nodered.org/t/node-red-ui-table-dont-refresh-automatically/89268/2)

---

<div class="post-metadata">

**Author:** ![dougle03](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dougle03/32/32979_2.png) [@dougle03](https://discourse.nodered.org/u/dougle03)\
**Post date:** [5 March 2026 07:49 UTC](https://discourse.nodered.org/t/solved-table-node-not-updating-without-a-page-refresh/100504/3 "2026-03-05T07:49:22Z")

</div>

I added the below to my function node to force a reload of the table data.

```auto
// Send command to replace table data
msg.payload = {
    command: "replaceData",
    arguments: [history]
};

```

Seems to work now.  
Thanks.

---

<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:** [19 March 2026 07:49 UTC](https://discourse.nodered.org/t/solved-table-node-not-updating-without-a-page-refresh/100504/4 "2026-03-19T07:49:38Z")

</div>

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