So if you are building the html table from an array.
There are many different ways to iterate through this in Node-RED but a good one to learn would be to use a function and some javascript.
Try reading https://www.w3schools.com/js/js_loop_for.asp as well as https://nodered.org/docs/user-guide/messages