This is a migrated thread and some comments may be shown as answers.

GridView Data Virtualization

1 Answer 63 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Xavier
Top achievements
Rank 1
Xavier asked on 05 Mar 2014, 09:47 AM
Hi,

  I need to use the data virtualization in the gridview component. My source is a IQueryable and after enumerating i need sometimes to do another projection and create a dynamic property. My user case is the following:
 
There's 3 tables with the following relationships:
A---B---C---D
1---n----m---m

My query gets the following hierarchical object: 
A
   |
   ---B
        |
        C--D

My GUI has 3 GridView Components, with the following binding each:
Grid 1: {Binding A}
Grid 2: {Binding A/B}
Grid3: {Binding A/B/C.D} //Error

Grid 3 has an binding error because The Current B item has multiple C items and it cannot do a C.Select(s=>s.D) automatically.


How can i using data virtualization do this binding?



Thanks


        

1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 06 Mar 2014, 11:57 AM
Hi,

May I ask you to share more information on what is the exact error do you get? I am not sure that I correctly understand those lines: Grid 2: {Binding A/B}. Would you please clarify this code in more details?

Regards,
Didie
Telerik

DevCraft Q1'14 is here! Join the free online conference to see how this release solves your top-5 .NET challenges. Reserve your seat now!

Tags
GridView
Asked by
Xavier
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Share this question
or