<?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 Access to FeatureTable methods and events when showing related records in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-to-featuretable-methods-and-events-when/m-p/1029045#M71830</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm trying to access the FeatureTable methods and events when related records are shown.&lt;/P&gt;&lt;P&gt;Following the Esri sample:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/3/sandbox/sandbox.html?sample=featuretable_relatedrecords" target="_blank"&gt;https://developers.arcgis.com/javascript/3/sandbox/sandbox.html?sample=featuretable_relatedrecords&lt;/A&gt;&lt;/P&gt;&lt;P&gt;if i include this event listener&lt;/P&gt;&lt;P&gt;myFeatureTable.on("row-select", function(evt){&lt;BR /&gt;console.log("select event - ", evt);&lt;BR /&gt;});&lt;/P&gt;&lt;P&gt;it returns the object only when acting on the main table, but not on the related table. Besides, the menuFunctions object of the FeatureTable constructor seems to work only with the main table.&lt;/P&gt;&lt;P&gt;Is it possible to get the same behaviour for both main and related tables?&lt;/P&gt;&lt;P&gt;What I need is to get the OBJECTID of the selected record in order to apply edits.&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;</description>
    <pubDate>Mon, 22 Feb 2021 11:59:54 GMT</pubDate>
    <dc:creator>AlbertoPinilla</dc:creator>
    <dc:date>2021-02-22T11:59:54Z</dc:date>
    <item>
      <title>Access to FeatureTable methods and events when showing related records</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-to-featuretable-methods-and-events-when/m-p/1029045#M71830</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm trying to access the FeatureTable methods and events when related records are shown.&lt;/P&gt;&lt;P&gt;Following the Esri sample:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/3/sandbox/sandbox.html?sample=featuretable_relatedrecords" target="_blank"&gt;https://developers.arcgis.com/javascript/3/sandbox/sandbox.html?sample=featuretable_relatedrecords&lt;/A&gt;&lt;/P&gt;&lt;P&gt;if i include this event listener&lt;/P&gt;&lt;P&gt;myFeatureTable.on("row-select", function(evt){&lt;BR /&gt;console.log("select event - ", evt);&lt;BR /&gt;});&lt;/P&gt;&lt;P&gt;it returns the object only when acting on the main table, but not on the related table. Besides, the menuFunctions object of the FeatureTable constructor seems to work only with the main table.&lt;/P&gt;&lt;P&gt;Is it possible to get the same behaviour for both main and related tables?&lt;/P&gt;&lt;P&gt;What I need is to get the OBJECTID of the selected record in order to apply edits.&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2021 11:59:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-to-featuretable-methods-and-events-when/m-p/1029045#M71830</guid>
      <dc:creator>AlbertoPinilla</dc:creator>
      <dc:date>2021-02-22T11:59:54Z</dc:date>
    </item>
  </channel>
</rss>

