Hi ,
I have six layers, they all have the same Field names, and I want to connect them based on the feature layer that is currently visible. Do I need to add a destroy() or refresh() every time I change a layer?
Thanks!
var layer = function changetable() {
if (CNTYmm.visible)
{var layer = CNTYmm}
else if (HUC8mm.visible)
{var layer = HUC8mm}}
myFeatureTable = new FeatureTable({
"featureLayer" : layer,
"outFields": ["NAME", "Units"],
"map" : map,
"gridOptions" : {
allowSelectAll: true,
allowTextSelection: true,
},
}, 'PrecipTable');