# JavaScript for operations on arrays not working in Glide

**URL:** <https://community.glideapps.com/t/javascript-for-operations-on-arrays-not-working-in-glide/67725>\
**Category:** Ask for Help\
**Tags:** custom-code\
**Created:** [November 13, 2023, 2:42am UTC](https://community.glideapps.com/t/javascript-for-operations-on-arrays-not-working-in-glide/67725 "2023-11-13T02:42:30Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [November 17, 2023, 5:26am UTC](https://community.glideapps.com/t/javascript-for-operations-on-arrays-not-working-in-glide/67725/17 "2023-11-17T05:26:49Z")

</div>

If you want a list where each individual item is clickable, then yes you’ll need one item per row. Check the below to learn how to expand the items into rows:

> [@fishbaguette\_breadbasket Transpose Columns to an Inline List: The Miracle Method](https://community.glideapps.com/t/transpose-columns-to-an-inline-list-the-miracle-method/32766):
>
> I’m often asked how to take columns of data (say form responses) and display them in an inline list. Here’s one way to do it—the MIRACLE METHOD. [[Glide: Transpose Data Columns into an Inline List with the MIRACLE METHOD] ](https://www.youtube.com/watch?v=t-sh_Q3WbQc)

If you just want a table, then you could modify the JavaScript to output a HTML table, and then use that in a Rich Text component. You could do the same thing to build a parameter list for a [quickchart.io](http://quickchart.io) chart.

---

_[View the full topic](https://community.glideapps.com/t/javascript-for-operations-on-arrays-not-working-in-glide/67725)._
