Select to view content in your preferred language

cell-click event on FeatureTable for related records

163
0
02-10-2026 11:24 AM
shovland
New Contributor

I'm using this sample as a reference:

Sandbox | Sample Code | ArcGIS Maps SDK for JavaScript

When I add a "cell-click" event listener by adding the following code after the FeatureTable initialization:

featureTable.on("cell-click", (e) => {
  console.log('cell-click', e);
});

The click event only fires for clicks on the main table. When drilling into the related records for any of the features, the related table does not get the same event listener. What I would like to know is: is there a way to create:

- an event listener can be added to a specific related table; or
- an event listener can be added for ALL tables in the FeatureTable, including related tables

Additionally, I see checkboxes get added automatically to each row when viewing related records. Is there a way to observe what items are checked in a related table?

Thanks

Steven

0 Kudos
0 Replies