GridView Data Virtualization

2 posts, 0 answers
  1. Xavier
    Xavier avatar
    2 posts
    Member since:
    Aug 2011

    Posted 05 Mar 2014 Link to this post

    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


            
  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 06 Mar 2014 Link to this post

    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!

Back to Top