We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Why MappingName and Name properties should be same in ColumnDescriptor?

The GridColumnDescriptor has the MappingName, Name and header text properties. Please refer the below table to have a clarification in the purpose of these properties.

 

MappingName 

The mapping for this column. You should specify which column of DataTable you want to display in the grid at this column.

Name 

The name of the column. If name is not specified, the MappingName will be assigned to Name. To specify a particular Name, the MappingName should also reflect that particular name.

HeaderText

The header text displayed in the column header. If no header text has been specified, the header text will be the same as the Name.

 

C#

 

VB

 

                The value of both Name and Mapping name should be defined with same name. Since the column has been validated using both MappingName and Name in source level. If they have different names the validation fails in certain cases.

Article ID: Published Date: Last Revised Date: Platform: Control:
6567 03/21/2016 03/21/2016 Windows Forms GridGroupingControl
Tags:
Did you find this information helpful?
Add Comment
You must log in to leave a comment

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon