Select to view content in your preferred language

How can I show the DisplayName in custom  FeatureDatagrid?

555
0
07-05-2012 02:05 PM
District_ofNorth_Saanich
New Contributor
I tried to develop a FeatureDataGrid to display search result;
I noticed that under config folder there is Map.xml file which contains a DisplayName in the <esri:FeatureLayer> section.
<esriMapping:LayerExtensions.Fields>
<esriMapping:FieldInfo Name="AIRPORT_ID" DisplayName="My Airport ID" FieldType="Integer" AliasOnServer="AIRPORT_ID" DomainSubtypeLookup="None" />
</esriMapping:LayerExtensions.Fields>
In this case, the column header of FeatureDataGrid will show My Airport ID instead of AIRPORT_ID.
I want my FeatureDataGrid show that name. How can do this?
Can anyone give me some idea?
0 Kudos
0 Replies