OrderGridDataControl.VisibleColumns.Add(new GridDataVisibleColumn() {
HeaderText = "Unit Cost", MappingName = "Unit[0].Cost"
});
Thanks in advance,
Will.
Hi Will,
Thanks for using Syncfusion products.
We have analyzed your query with our sample and please find our response below.
We can use an indexer in the MappingName property text of a GridDataVisibleColumn, and for this we need to set VisibleColumnType and Binding property for the particular column. We have prepared sample based on your requirement and it can be downloaded from below location.
Sample Location: MappingName.zip
Please let us know if you have any queries.
Thanks,
Kannan.R
Hi Will,
Thanks for your valuable feedback, please let us know if you need any assistance in future.
Thanks,
Kannan.R
Hi Rainer,
Sorry
for the inconvenienced,
Due to our server failure we lost previous data. We have prepared a sample based on you requirement and you can download it from the below location.
Sample Location: GridDataControlSample_Mappingname.zip
Please let us know if this solution helps you,
Regards,
Saravanan.M
Hi Michael,
Sorry about the inconvenienced,
We have prepared a sample by using indexer for both SfDataGrid and GridDataControl and you can download it from the following location
Regards,
Farjana Parveen A