In my App, I create a FeatureTable that works with a FeatureLayer. When the FeatureTable displays the data and the FeatureLayer is drawn on the Map. I need to fire an event on clicking a row of the Grid, and retrieve the record's cells values. Below is the related code. However, when I click a row, nothing happens. What's wrong with my code? Thanks if you can help.
myTable = new mv.esriModules.FeatureTable({
layer: myFeatureLayer,
visibleElements: { selectionColumn: true },
fieldConfigs: _fieldsConfig,
container: document.getElementById("tableDiv")
items: [{
label: "Zoom to feature(s)",
iconClass: "esri-icon-zoom-in-magnifying-glass",
clickFunction: function (event) { //
debugger;
//zoomToSelectedFeatureTable();
//console.log("Need to build zoomToSelectedFeatureTable function");
}
}]
});