Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1415
WCF RIA xamGrid Hierarchy Strangeness
posted

I  have gotten as far as binding my xamgrid to my RIA data source.. it looks pretty good except I am having trouble getting the heirarchy working properly.  Attached is a screencap of my .edmx and data source on the client along with what the grid looks like.

I can't figure out why modifiedstamp doesn't show up on the main row but as a child?

I also can't figure out why Supervises doesn't show up as a child band?

I'm used to the winforms infragistics grid so maybe I'm just going about things the wrong way.

If someone can point me at a heirarchical RIA xamgrid example that would get me going too.

 

Parents
No Data
Reply
  • 40030
    Offline posted

    Hi, 

    What you define in the DataSources window won't map to the xamGrid. This is a limitation of VS. 

    A Columnlayout (i.e. childband) is autoGenerated when a property in your data is of type IEnumerable. I don't know what type modifiedStamp is, however, it's most likely an IEnumerable of some sort. As for Supervises, its hard to say without actually knowing its type. 

    However, your best bet is probably to manually create your columns instead of AutoGeneration. 

    http://help.infragistics.com/NetAdvantage/Silverlight/2010.3/CLR4.0/?page=SL_xamGrid_Columns.html

    http://help.infragistics.com/NetAdvantage/Silverlight/2010.3/CLR4.0/?page=SL_xamGrid_Define_Column_Layout.html

     

    -SteveZ

Children