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
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.
Good news - the Popup and Features widgets will respect the drawing order for individual layers in the ArcGIS Maps SDK for JavaScript version 4.29. The returned features will adhere to the default drawing order of the data or a specific order if orderBy is specified on the layer.
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.