I want to show the data table on popup, like when i click on the map if there is any relation define on the given layer e.g relation between different layers, then i will show the popup with relative table.
Irtiza,
If you're using ArcGIS API for Javascript 4.9 have a look at this sample code.
Multiple popup elements | ArcGIS API for JavaScript 4.9
Where i can put this, in require? or something else
you can do it by setting up "esri/dijit/PopupTemplate" to your layers. It by default shows all relative tables details as well.
Hope it will help you!!
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.