AnsweredAssumed Answered

attribute table - click on feature highlights a row.

Question asked by lkoumis on Dec 22, 2015
Latest reply on Aug 11, 2016 by helenchu

For the FeatureTable there is an easy way to click on feature on the map and it highlights the table row for the selected feature on the table.


simply use featuretable.enableLayerClick=true


on this example:

ArcGIS API for JavaScript Sandbox


just enter on line 104



and any feature you click on the map, you can see the highlighted row.


Here is my question. The Attribute table that is used in wab, is not declared as FeatureTable. So, to get the highlighted row after you click a feature on map, you will have to compare the evt and the records on the grid, and once a match is made use grid.rows.setOverRow  Am I see it right?


Thank you.