We have custom columns in our gridviews as one below. When exporting to Excel, the key values are exported instead of displays values.
<
lookups:GridViewProjectLookupColumn
Header
=
"Project Number"
DataMemberBinding
=
"{Binding ProjectRecId}"
DisplayMemberBinding
=
"{Binding Project_ProjectRecId}"
DisplayMemberPath
=
"ProjId"
SortMemberPath
=
"Project_ProjectRecId.ProjId"
FilterMemberPath
=
"Project_ProjectRecId.ProjId"
ProjectTypeVisible
=
"False"
CustomerAccountVisible
=
"False"
ProjectStageVisible
=
"False"
IsReadOnlyBinding
=
"{Binding IsManualReadOnly}"
/>
Is there a way to export the value of DisplayMemeberPath (ProjId) instead of the DataMemeberBinding( ProjectRecId)?
Thanks,
Rūta