Hi Hamish,
Thank you for using Syncfusion products.
We have analyzed your query and Please find the response below.
AutoPopulateColumns:
While creating the Visible Columns the GridDataControl get the meta data information (Property Name, DataTypes) about the collection and populate / assign the values based on the meta data information.
1.True:
While using AutoPopulateColumns as True ,GridDataControl will get the information from binded underlyingcollection and populate VisibleColumns based on this.
2.False
While using AutoPopulateColumns as False ,We want to bind the each property in underlyingcollection to GridDataVisibleColumn. GridDataControl will populate the VisibleColumn based on the VisibleColumn .
MappingName:
MappingName property in GridDatavisibleColums is used to bind the underlying collection property to the GridDataVisibleColumn.
GridDataVisibleColumnBinding:
This is same behavior like MappingName .It is used to bind the property in the unnderlyingcollection data to the GridDataVisibleColumn.
And you can achieve your requirement by using ValueConverter property in GridDataVisibleColumn. We have modified the sample based on this and it can be download from the following location.
Modified Sample: ModifiedSample.zip
Note :
Changes done in the Mainwindow.xaml
Changes done in the MduConverter.cs
Please let us know if you have any questions
Regards,
Ravi Shankar B.