# Does glide execute Javascript function for each row individually?

**URL:** <https://community.glideapps.com/t/does-glide-execute-javascript-function-for-each-row-individually/76147>\
**Category:** Ask for Help\
**Created:** [September 5, 2024, 9:09am UTC](https://community.glideapps.com/t/does-glide-execute-javascript-function-for-each-row-individually/76147 "2024-09-05T09:09:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dilip\_Adiga](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dilip_adiga/32/60330_2.png) [@Dilip\_Adiga](https://community.glideapps.com/u/Dilip_Adiga)\
**Post date:** [September 5, 2024, 9:09am UTC](https://community.glideapps.com/t/does-glide-execute-javascript-function-for-each-row-individually/76147/1 "2024-09-05T09:09:03Z")

</div>

Hi Guys,

Does Glide seems to be executing the JavaScript function for each row individually rather than allowing accumulation across rows?

If this is the case we would not be able to generate JSON array using javascript right ?

Regards,  
Dilip

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [September 5, 2024, 11:23pm UTC](https://community.glideapps.com/t/does-glide-execute-javascript-function-for-each-row-individually/76147/2 "2024-09-05T23:23:41Z")

</div>

Why do you need to do it?

---

<div class="post-metadata">

**Author:** ![Dilip\_Adiga](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dilip_adiga/32/60330_2.png) [@Dilip\_Adiga](https://community.glideapps.com/u/Dilip_Adiga)\
**Post date:** [September 6, 2024, 4:32am UTC](https://community.glideapps.com/t/does-glide-execute-javascript-function-for-each-row-individually/76147/3 "2024-09-06T04:32:32Z")

</div>

Hi @ThinhDinh ,

I could get as far as getting JS to return the rows value , but I am not able to get JSON array which can return the entire tables value. No matter what I do it just Prints the current row value ---- number of rows present times.

Regards,  
Dilip

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [September 6, 2024, 11:50am UTC](https://community.glideapps.com/t/does-glide-execute-javascript-function-for-each-row-individually/76147/4 "2024-09-06T11:50:49Z")

</div>

That is the way the JS column works. Why don’t you use something like a joined list to get that?

---

<div class="post-metadata">

**Author:** ![Dilip\_Adiga](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dilip_adiga/32/60330_2.png) [@Dilip\_Adiga](https://community.glideapps.com/u/Dilip_Adiga)\
**Post date:** [September 7, 2024, 10:50am UTC](https://community.glideapps.com/t/does-glide-execute-javascript-function-for-each-row-individually/76147/5 "2024-09-07T10:50:31Z")

</div>

Hi @ThinhDinh

Thank you for replying.  
I am using glide Big table. So passing the Java script output through a joined list gives the warning that Computed columns will work fine till 100 Rows.

Regards,  
Dilip
