<?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 How to retrieve a row's value from a FeatureTable that relates to the FeatureLayer in Clustering Points? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-retrieve-a-row-s-value-from-a-featuretable/m-p/1041003#M72227</link>
    <description>&lt;P&gt;I am using ESRI's FeatureTable widget to display clustering points on the map.&amp;nbsp; The feature records are well populated on the Grid.&amp;nbsp; What I need is that as clicking a row of the Grid, I can retrieve the values (Lat &amp;amp; Lon) of the row, and then possibly add a point graphic on the map.&amp;nbsp; &amp;nbsp;However, due to the Clustering configuration, I can't fire the&amp;nbsp;clickFunction (see the code below).&lt;/P&gt;&lt;P&gt;&lt;FONT face="batang,apple gothic"&gt;myTable = new mv.esriModules.FeatureTable({ &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="batang,apple gothic"&gt;layer: myFeatureLayer, visibleElements: { selectionColumn: true }, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="batang,apple gothic"&gt;fieldConfigs: _fieldsConfig, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="batang,apple gothic"&gt;container: document.getElementById("tableDiv"), &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="batang,apple gothic"&gt;menuConfig: { &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="batang,apple gothic"&gt;items: [{ &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="batang,apple gothic"&gt;label: "Zoom to feature(s)", &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="batang,apple gothic"&gt;iconClass: "esri-icon-zoom-in-magnifying-glass", &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="batang,apple gothic"&gt;clickFunction: function (event) { // &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="batang,apple gothic"&gt;debugger; &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="batang,apple gothic"&gt;//zoomToSelectedFeatureTable(); &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="batang,apple gothic"&gt;//console.log("Need to build zoomToSelectedFeatureTable function"); &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="batang,apple gothic"&gt;} &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="batang,apple gothic"&gt;}] &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="batang,apple gothic"&gt;} &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="batang,apple gothic"&gt;});&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;I can only retrieve a cell's value.&amp;nbsp; Is it possible to retrieve the whole row's values?&amp;nbsp; Thanks.&lt;/P&gt;&lt;P&gt;04/01/2021 Refer to the code in&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/widgets-featuretable-map/" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/javascript/latest/sample-code/widgets-featuretable-map/&lt;/A&gt;&amp;nbsp; the issue is resolved.&amp;nbsp; Thanks to the hint from&amp;nbsp;&lt;A href="https://community.esri.com/t5/user/viewprofilepage/user-id/2839" target="_self"&gt;&lt;SPAN class=""&gt;KenBuja&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 02 Apr 2021 19:11:03 GMT</pubDate>
    <dc:creator>ShaningYu</dc:creator>
    <dc:date>2021-04-02T19:11:03Z</dc:date>
    <item>
      <title>How to retrieve a row's value from a FeatureTable that relates to the FeatureLayer in Clustering Points?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-retrieve-a-row-s-value-from-a-featuretable/m-p/1041003#M72227</link>
      <description>&lt;P&gt;I am using ESRI's FeatureTable widget to display clustering points on the map.&amp;nbsp; The feature records are well populated on the Grid.&amp;nbsp; What I need is that as clicking a row of the Grid, I can retrieve the values (Lat &amp;amp; Lon) of the row, and then possibly add a point graphic on the map.&amp;nbsp; &amp;nbsp;However, due to the Clustering configuration, I can't fire the&amp;nbsp;clickFunction (see the code below).&lt;/P&gt;&lt;P&gt;&lt;FONT face="batang,apple gothic"&gt;myTable = new mv.esriModules.FeatureTable({ &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="batang,apple gothic"&gt;layer: myFeatureLayer, visibleElements: { selectionColumn: true }, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="batang,apple gothic"&gt;fieldConfigs: _fieldsConfig, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="batang,apple gothic"&gt;container: document.getElementById("tableDiv"), &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="batang,apple gothic"&gt;menuConfig: { &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="batang,apple gothic"&gt;items: [{ &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="batang,apple gothic"&gt;label: "Zoom to feature(s)", &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="batang,apple gothic"&gt;iconClass: "esri-icon-zoom-in-magnifying-glass", &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="batang,apple gothic"&gt;clickFunction: function (event) { // &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="batang,apple gothic"&gt;debugger; &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="batang,apple gothic"&gt;//zoomToSelectedFeatureTable(); &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="batang,apple gothic"&gt;//console.log("Need to build zoomToSelectedFeatureTable function"); &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="batang,apple gothic"&gt;} &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="batang,apple gothic"&gt;}] &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="batang,apple gothic"&gt;} &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="batang,apple gothic"&gt;});&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;I can only retrieve a cell's value.&amp;nbsp; Is it possible to retrieve the whole row's values?&amp;nbsp; Thanks.&lt;/P&gt;&lt;P&gt;04/01/2021 Refer to the code in&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/widgets-featuretable-map/" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/javascript/latest/sample-code/widgets-featuretable-map/&lt;/A&gt;&amp;nbsp; the issue is resolved.&amp;nbsp; Thanks to the hint from&amp;nbsp;&lt;A href="https://community.esri.com/t5/user/viewprofilepage/user-id/2839" target="_self"&gt;&lt;SPAN class=""&gt;KenBuja&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Apr 2021 19:11:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-retrieve-a-row-s-value-from-a-featuretable/m-p/1041003#M72227</guid>
      <dc:creator>ShaningYu</dc:creator>
      <dc:date>2021-04-02T19:11:03Z</dc:date>
    </item>
  </channel>
</rss>

