# Is the JS column code performed on the client side or server side?

**URL:** https://community.glideapps.com/t/is-the-js-column-code-performed-on-the-client-side-or-server-side/41992
**Category:** Ask for Help
**Created:** [May 15, 2022, 7:03pm UTC](https://community.glideapps.com/t/is-the-js-column-code-performed-on-the-client-side-or-server-side/41992 "2022-05-15T19:03:19Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![11183](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/11183/32/29797_2.png) [@11183](https://community.glideapps.com/u/11183)
#### Post date: [May 15, 2022, 7:03pm UTC](https://community.glideapps.com/t/is-the-js-column-code-performed-on-the-client-side-or-server-side/41992/1 "2022-05-15T19:03:19Z")

</div>

I mean can we optimize complex cascade logic performing by 5–6 If-Then-Else columns by using just one JS column? Because multiple ITE columns decrease performance according to my experience.

---

<div class="post-metadata">

### Author: ![gvalero](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/gvalero/32/1037_2.png) [@gvalero](https://community.glideapps.com/u/gvalero)
#### Post date: [May 15, 2022, 9:53pm UTC](https://community.glideapps.com/t/is-the-js-column-code-performed-on-the-client-side-or-server-side/41992/2 "2022-05-15T21:53:41Z")

</div>

Hola!

Your JS code will run on client server (device) and of course, JS helps a lot to save columns and make your APP simpler.

Here an example about what you meant

> [@SUMIFS and advanced formulas](https://community.glideapps.com/t/sumifs-and-advanced-formulas/41472):
>
> Hi, guys! Problem: I need vanilla SUMIFS from Google Sheets. I need to sum "expenses’ that have certain text attribute and a boolean flag. Tried solutions: Rollup with lookup - can’t Rollup on a Lookup column If-Else-Then’s - can’t have multiple conditions in ITE column. Hyperofurmulas - they have been removed from Glide. Formulas in Google sheet itself - looks like Glide cannot parse columns with Google formulas. Is there a solutions to this? Thanks in advance!

Saludos!

---

<div class="post-metadata">

### Author: ![11183](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/11183/32/29797_2.png) [@11183](https://community.glideapps.com/u/11183)
#### Post date: [May 15, 2022, 10:16pm UTC](https://community.glideapps.com/t/is-the-js-column-code-performed-on-the-client-side-or-server-side/41992/3 "2022-05-15T22:16:44Z")

</div>

Thank you! That’s exactly what I’m looking for.

---

<div class="post-metadata">

### Author: ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)
#### Post date: [May 16, 2022, 10:17pm UTC](https://community.glideapps.com/t/is-the-js-column-code-performed-on-the-client-side-or-server-side/41992/4 "2022-05-16T22:17:30Z")

</div>

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