<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Showing the  Popups Data inFeatureTable in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/showing-the-popups-data-infeaturetable/m-p/1464138#M83219</link>
    <description>&lt;P&gt;&lt;SPAN&gt;How do I make it so that when a user clicks on a popup on the map, they can see the corresponding details in the FeatureTable?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;import { Box } from '@mui/material'
import React, { useEffect } from 'react'
import { loadModules } from 'esri-loader'

 

export default function Home() {
  useEffect(() =&amp;gt; {
    loadModules(['esri/WebMap', 'esri/views/MapView','esri/layers/FeatureLayer',
    'esri/widgets/FeatureTable',], { css: true })
      .then(([WebMap, MapView,FeatureLayer, FeatureTable,]) =&amp;gt; {
        let webmap = new WebMap({
          portalItem: {
            id: '' //webmap id
          }
        })

 

        let view = new MapView({
          container: 'viewDiv',
          map: webmap
        })

 

        view.when(() =&amp;gt; {
          const featureLayer = new FeatureLayer({
            portalItem: {
              id: '' //feature layer id
            },
            outFields: ['*'],
            title: 'Customer'
          })

 

          webmap.add(featureLayer)

 

          const featureTable = new FeatureTable({
            view: view,
            layer: featureLayer,
            multiSortEnabled: true,
            editingEnabled: true,
            tableTemplate: {
              columnTemplates: [
                // Column template configurations
              ]
            },
            container: 'tableDiv'
          })

 

          view.ui.add(featureTable, 'bottom')
        })
      })
      .catch(error =&amp;gt; {
        console.error('Error loading modules:', error)
      })
  }, [])

 

  return (
&amp;lt;Box&amp;gt;
&amp;lt;Box id='viewDiv' sx={{ flex: '1', width: '100%' }}&amp;gt;&amp;lt;/Box&amp;gt;
&amp;lt;Box id='tableDiv' sx={{ flex: '1', width: '100%' }}&amp;gt;&amp;lt;/Box&amp;gt;
&amp;lt;/Box&amp;gt;
  )
}&lt;/LI-CODE&gt;</description>
    <pubDate>Tue, 14 May 2024 05:59:33 GMT</pubDate>
    <dc:creator>JeyaSurya</dc:creator>
    <dc:date>2024-05-14T05:59:33Z</dc:date>
    <item>
      <title>Showing the  Popups Data inFeatureTable</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/showing-the-popups-data-infeaturetable/m-p/1464138#M83219</link>
      <description>&lt;P&gt;&lt;SPAN&gt;How do I make it so that when a user clicks on a popup on the map, they can see the corresponding details in the FeatureTable?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;import { Box } from '@mui/material'
import React, { useEffect } from 'react'
import { loadModules } from 'esri-loader'

 

export default function Home() {
  useEffect(() =&amp;gt; {
    loadModules(['esri/WebMap', 'esri/views/MapView','esri/layers/FeatureLayer',
    'esri/widgets/FeatureTable',], { css: true })
      .then(([WebMap, MapView,FeatureLayer, FeatureTable,]) =&amp;gt; {
        let webmap = new WebMap({
          portalItem: {
            id: '' //webmap id
          }
        })

 

        let view = new MapView({
          container: 'viewDiv',
          map: webmap
        })

 

        view.when(() =&amp;gt; {
          const featureLayer = new FeatureLayer({
            portalItem: {
              id: '' //feature layer id
            },
            outFields: ['*'],
            title: 'Customer'
          })

 

          webmap.add(featureLayer)

 

          const featureTable = new FeatureTable({
            view: view,
            layer: featureLayer,
            multiSortEnabled: true,
            editingEnabled: true,
            tableTemplate: {
              columnTemplates: [
                // Column template configurations
              ]
            },
            container: 'tableDiv'
          })

 

          view.ui.add(featureTable, 'bottom')
        })
      })
      .catch(error =&amp;gt; {
        console.error('Error loading modules:', error)
      })
  }, [])

 

  return (
&amp;lt;Box&amp;gt;
&amp;lt;Box id='viewDiv' sx={{ flex: '1', width: '100%' }}&amp;gt;&amp;lt;/Box&amp;gt;
&amp;lt;Box id='tableDiv' sx={{ flex: '1', width: '100%' }}&amp;gt;&amp;lt;/Box&amp;gt;
&amp;lt;/Box&amp;gt;
  )
}&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 14 May 2024 05:59:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/showing-the-popups-data-infeaturetable/m-p/1464138#M83219</guid>
      <dc:creator>JeyaSurya</dc:creator>
      <dc:date>2024-05-14T05:59:33Z</dc:date>
    </item>
  </channel>
</rss>

