Dashboard 2 / Tabulator table initialization issue when loading the dashboard

Hi everyone,

I'm experiencing a strange issue with @omrid01/node-red-dashboard-2-table-tabulator.

I created a empty table using ui-tabulator, which is populated automatically when the flow is deployed. To avoid timing issues, I already added a 2.5-second delay before sending the data to the table.

However, quite often when the flow starts—especially if the Dashboard is not currently open on the page containing the table—the table does not initialize correctly. Sometimes it loads without issues, but other times the cells are not clickable, even though they are configured to be.

I've checked and rechecked my flow and I can't find any obvious problems.

The table cells contain HTML content, and I'm also applying custom CSS through a ui-template.

I also tried resetting the table first using the tbResetTable command and then sending the data again, but the issue still occurs.

Has anyone experienced something similar, or is there a recommended way to ensure that the table is fully initialized before loading the data?

Any suggestions would be greatly appreciated. Thanks!

  • Are you listening to the node responses after sending commands?
  • Are you waiting for the "tableReady" event indicating that the table finished initializing?
  • Are there any HTML errors in the browser's console when you access the table?

Please share a flow that represents your scenario, so I can investigate it.