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

How do I bind a column to a dictionary[SomeKey] using bound VisibleColumn??

Thread ID:

Created:

Updated:

Platform:

Replies:

116138 Apr 10,2014 01:08 PM UTC Apr 14,2014 01:33 PM UTC WPF 2
loading
Tags: GridDataControl
Michael Cheng
Asked On April 10, 2014 01:08 PM UTC

Something like this:
<syncfusion:GridDataVisibleColumn HeaderText="Random String" Width="100" MappingName="TestObjs[UniqueKey]">

Michael Cheng
Replied On April 10, 2014 02:17 PM UTC

Never mind. Figured out I need to set "Binding". I guess I'm really confused about what "MappingName" and "Binding" are. And when are they matter when using VisibleColumn or UnboundVisibleColumn. Can you clarify? Thanks.

Jayapradha S [Syncfusion]
Replied On April 14, 2014 01:33 PM UTC

Hi Michael,

 

Unbound visible column is derived from VisibleColumn and it is used to display additional information which is not present in underlying data by handling <Event>.

 

MappingName and Binding used to reflect information from underlying data. When MappingName is used data will be reflected using C# reflection concept and when Binding property is used, data will be reflected using BindingWrappers. In some cases, we could not reflect the data based on MappingName. So those cases, we have to use Binding property in VisibleColumn.

 

Please let us know if you have any queries.

 

Regards,

Jayapradha


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

;