GridDataControl MappingName binding

I'd like to do bind let's say the Customer object (I'm in WPF, 3.5, last syncfusion version, just bought it)



I think it's impossible to access a property that access another and so on like "Address.City". So, what I see is that I have to make a CellTemplate, put a TextBox like that:







Is there a shorter way cause all my grids are binded on View Model objects that contains their DTO (WCF DataContracts - client side generated objects) So I quite often have to access MyViewModelInstance.InnerDTO.Name.

Thanks!

1 Reply

DP Dhinesh Pandiyan M Syncfusion Team February 4, 2010 08:47 AM UTC

Hi Francois,

Thanks for using Syncfusion products.

This feature - Complex Property Binding is available in latest version Essential Studio 8.1. We can achieve this using the below code.



We have a sample in our Dashboard from the below location.

\\WPF\Grid.WPF\Samples\3.5\WindowsSamples\Grid Data Control - Advanced\Complex Property Binding Demo

Please let us know if you have any other questions.

With Regards,
Dhinesh Pandiyan

Loader.
Up arrow icon