Access to FeatureTable methods and events when showing related records

437
0
02-22-2021 03:59 AM
AlbertoPinilla
New Contributor II

Hello,

I'm trying to access the FeatureTable methods and events when related records are shown.

Following the Esri sample:

https://developers.arcgis.com/javascript/3/sandbox/sandbox.html?sample=featuretable_relatedrecords

if i include this event listener

myFeatureTable.on("row-select", function(evt){
console.log("select event - ", evt);
});

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.

Is it possible to get the same behaviour for both main and related tables?

What I need is to get the OBJECTID of the selected record in order to apply edits.

Thanks in advance,

0 Kudos
0 Replies