How to do sorting in popup JS 4.14

497
1
01-31-2020 02:31 AM
BingZheng
Esri Contributor

Hi, 

We are using PopupTemplate - use functions to set content | ArcGIS API for JavaScript 4.14  as our sample code.

When we have multi-records in popup, the order is mixed up, how to sort it by nominated field? (for example, order by Name), thanks.

Regards,

Bing

Tags (1)
1 Reply
Alber_Verster
Esri Contributor

Hi Bing.

I believe your problem might be solved with Arcade in the pop up. Hopefully this helps.

Alternatively you could try to order the data? Might bring up the data as it is called.

Lastly and most complex option would be to completely customise your pop-up.

Hope this helps.