Select to view content in your preferred language

FeatureDataGrid with GraphicsLayer display Alias

711
1
10-19-2011 07:00 AM
SteeveCouture
Emerging Contributor
Hello,

I use the FeatureDataGrid to display the attributes of a GraphicsLayer.  This GraphicsLayer is the result of a QueryTask operation and the QueryTask return the Attributes name (no the alias and it's correct).  My problem is that I want to display the attributes alias as column title instead of the attributes name.  I get the attributes alias by JSON.

I know that I can rename all my graphics attributes name (the key) by the alias but it's a long operation if there's several graphics.

Is there an another way to do that?  May be the FeatureDataGrid will have a property like ColumnTitleMapping, I don't know.  Does the FeatureDataGrid display the attributes alias as column title with a FeatureLayer?

Thanks,
Steeve
0 Kudos
1 Reply
JenniferNery
Esri Regular Contributor
The following thread seem related: forums.arcgis.com/threads/23731-Problem-with-Date-attribute-field.. Kindly see Post# 9
0 Kudos