Profile level : Anon
- First name
- Last name
- Job title
- Work experience
- Tags
- Avatar
- Cover
- Description
Filling out more of your profile gets you higher rankings in the directory and increases community trust.
Announcements

Announcing Appsmith Terraform Modules - Infrastructure As Code
Announcement
Pagination
- Previous page
- Page 4
- Next page
Recent templates
Title | Category | |
---|---|---|
![]() |
Csvtojson | |
![]() |
Data Driven PDF Generator | |
![]() |
Alasql Library Use Case | Development tool |
![]() |
S3 File Manager | Demo |
![]() |
Population Maps by Custom Widget | Custom widget |
Pagination
Your points
Total Points
0
Contribution
0
Engagement
0
Visit
0
Recent comments


This is awesome! I like that you included the other widgets to build new events, instead of just publishing the custom widget by itself. That would have been enough, but this is even better!
Do map
and reduce
have the same performance overhead relative to a basic for
loop?
The difference in behavior for undefined elements in the array is a deal killer, however. 98% of the time, developers will fail to remember this issue, even if they read about it before.
Do the images have to have names of fields or can Appsmith AI make guesses as to what would go in each identified column?

In reply to When it comes to performance… by phạmquanghuy
I'm not so sure. The best I can find is that for
is pretty much always the fastest, and for of
only seems to be a slight issue with massive datasets (far beyond what a frontend app would do). And for of
is still faster than forEach
.
In any event, forEach
still has way too many other limitations, and for of
is much more readable than for
when you don't know the size of the array you are iterating over.
See:
When it comes to performance, for of is even much slower than forEach

In reply to Are these limitations of… by kingstonejob
This only applies to Javascript. I'm not sure how this applies to other languages.
Are these limitations of Foreach Loop applicable in PHP, Java and C#?

In reply to Absolutely. If you bind the… by ron
Great tips John!
In reply to Lol - nice try Paul. We all… by ron
HaHa, thanks for that, Ron. I've got so much still to learn. I'd like to go 'interactive' with my widgets. I'm hoping to get some insights that don't take me days to figure out.

Excellent post! I knew about a few of the limitations but the amount of performance difference was surprising.
In reply to Absolutely. If you bind the… by ron
Thanks for that Ron.
For the benefit of others, remember to use the Overflow text tab to constrain and scroll down a long list of json objects.
Also. to examine a selected table row as json displayed in a text widget, I had to save the selected row
from the table onRowselected option with {{await storeValue('selectedRow', TblAlldocs.selectedRow)}}
and feed the Input widget with {{appsmith.store.selectedRow}}
in its text box.
I looked at displaying the json in an Input widget but it would only work as a fixed-size, unscrolable, multi-line text block;
a single-line text Input widget could only display the json as a realistically, unreadable long string.

In reply to Is there a simple way to… by nilgai
Absolutely. If you bind the default query result to something like a Text widget, it is in JSON format already:
{{ Query1.data }}
Just be sure to use .data
and not .run()
. If you use .run()
, then it will actually make the DB query again instead of using the results you already retreived.

You can call the stored value in the header field like this:
{{ appsmith.store.KEY_NAME }}

In reply to I've only made HTML reports… by pchambless1
Lol - nice try Paul. We all know you rock.
Hello,
I want to send dynamic sessionToken in header section of other API's. After getting sessionToken, i have stored it in a store object. But in headers how can i access that value?
Nice article!, continue doing like this
Interesting! Thanks for sharing

This is a very good idea and an easy way to implement themes.
Thanks a lot for this!

In reply to Hi Ron, nice post, I think… by ofsantana
Thanks for the feedback, Oscar! I can't take all the credit here, Joseph and the Templates team created the original list internally, and I just posted a modified version after finding it so useful.
The really helpful thing is when you are using autocomplete - you can find widgets/js/queries much easier when they are named properly, AND you know what they are without needing to look them up.
Thanks, Joseph, I wanted to share the Custom widget in a way anyone can take it as it is and implement it quickly, that is why I took the time to build it like a "complete" solution.