Select to view content in your preferred language

How to retrieve the values of a row of the Grid

3052
11
Jump to solution
03-22-2021 05:58 AM
ShaningYu
Honored Contributor

I created FeatureTable dynamically, as below:

contx.myTable = new mv.esriModules.FeatureTable({

layer: contx.crimeFeatureLayer,

visibleElements: { selectionColumn: false },

fieldConfigs: _fieldsConfig,

container: contx.gridTbl[0] //document.getElementById("tableDiv")

});

The FetaureTable's data are populated in a Grid (container: contx.gridTbl[0]).  Now I click a row of the Grid.  I want to retrieve this row's value.  How can it be done?  Thanks if you can help.

 

0 Kudos
11 Replies
ShaningYu
Honored Contributor

Wonderful!  Thanks.

0 Kudos
ShaningYu
Honored Contributor

Ken:  Wonderful!  Thanks again for your kindly quick responses and very useful hints!

0 Kudos