# From an Array to an UI Table

**URL:** <https://discourse.nodered.org/t/from-an-array-to-an-ui-table/24891>\
**Category:** Dashboard\
**Created:** [15 April 2020 17:01 UTC](https://discourse.nodered.org/t/from-an-array-to-an-ui-table/24891 "2020-04-15T17:01:09Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jjrivasescola](https://avatars.discourse-cdn.com/v4/letter/j/858c86/32.png) [@jjrivasescola](https://discourse.nodered.org/u/jjrivasescola)\
**Post date:** [15 April 2020 17:01 UTC](https://discourse.nodered.org/t/from-an-array-to-an-ui-table/24891/1 "2020-04-15T17:01:10Z")

</div>

Hello everyone!!

I would like to show the values of an array in a UI Table in the dashboard.

The dimensions of the array is X and contains values like this one:

 ![Captura de pantalla 2020-04-15 a las 18.38.39](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/7/a7e8f1c501bf25d5d9649ec910d07b7735dd871c.png)

The meaning of the values are date, time, batch and quantity.

I would like to have a table with 4 columns like this one:  
 ![Captura de pantalla 2020-04-15 a las 18.49.16](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/9/f94756743a5aa3f11053f735dd100d80acab12c1.png)

Can you help me on developing the configuration of the Ui table node?

**THANK YOU VERY MUCH IN ADVANCE!!** 😀

---

<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:** [15 April 2020 17:07 UTC](https://discourse.nodered.org/t/from-an-array-to-an-ui-table/24891/2 "2020-04-15T17:07:41Z")

</div>

Quick question: where does the data come from. Because having the data serialized like this is a little bit unusual.  
Are the cell values are always in that order?

---

<div class="post-metadata">

**Author:** ![jjrivasescola](https://avatars.discourse-cdn.com/v4/letter/j/858c86/32.png) [@jjrivasescola](https://discourse.nodered.org/u/jjrivasescola)\
**Post date:** [15 April 2020 17:09 UTC](https://discourse.nodered.org/t/from-an-array-to-an-ui-table/24891/3 "2020-04-15T17:09:27Z")

</div>

The data come from and email. Always they will have the same order.

---

<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:** [15 April 2020 18:04 UTC](https://discourse.nodered.org/t/from-an-array-to-an-ui-table/24891/4 "2020-04-15T18:04:59Z")

</div>

Is every new mail/msg a replacement of the data in the table or should the new lines be added to the table?

---

<div class="post-metadata">

**Author:** ![gerry](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gerry/32/21604_2.png) [@gerry](https://discourse.nodered.org/u/gerry)\
**Post date:** [15 April 2020 18:10 UTC](https://discourse.nodered.org/t/from-an-array-to-an-ui-table/24891/5 "2020-04-15T18:10:40Z")

</div>

Just got done doing a project with the ui-table and there is a lot of good examples in node red. Go to import, choose examples and under ui-table there are several examples. I suggest loading them up and studying the code examples. Lots of good information there.

---

<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:** [15 May 2020 18:10 UTC](https://discourse.nodered.org/t/from-an-array-to-an-ui-table/24891/6 "2020-05-15T18:10:42Z")

</div>

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