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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GridDataVisibleColumn Binding.

Thread ID:

Created:

Updated:

Platform:

Replies:

107621 Mar 8,2013 08:29 PM UTC Mar 19,2013 03:06 AM UTC WPF 1
loading
Tags: GridControl
Asad Samarian
Asked On March 8, 2013 08:29 PM UTC

My question is why you use:
 
<syncfusion:GridDataVisibleColumn HeaderText="Zip Code" MappingName="ZipCode">

Instead of :

<syncfusion:GridDataVisibleColumn HeaderText="Zip Code"  MappingName="{Binding ZipCode}">

I think this is a bad idea when we change these properties in our view model.
Can you tell me more about it? please.

Rajasekar G [Syncfusion]
Replied On March 19, 2013 03:06 AM UTC

Hi Asad,

 

Thank you for using Syncfusion products.

 

We have analyzed your query. Could you please share in which purpose do you want to bind the MappingName to the GridDataVisibleColumn That would be very helpful for us to further analysis .And also you can bind the property in the underlying collection to GridDataVisibleColumn while loading GridDataControl by using the following code snippet.

 

Code snippet[Xaml]:

<syncfusion:GridDataVisibleColumn Binding="{Binding CustomerID}" HeaderText="CustomerID">                    

</syncfusion:GridDataVisibleColumn>

 

For your reference here we have attached a simple sample and you can download the sample from the following location.

 

Sample: GridDataControlSample.zip

 

Please let us know if you have any questions

 

Regards,

Raja sekar.G


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

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

;