Welcome to the Xceed Community Sign in | Join | Help
Community Search  

Master-detail scenario + DetailDescriptions issue

Sort Posts: Previous Next
  •  05-28-2008, 12:35 PM Post no. 12548

    Master-detail scenario + DetailDescriptions issue

    Hi,

    has anybody faced with such issues:

    In our scenario, we have "Customer" business object ( master )which has "Orders" property of "Order" type ( details ).
    Each "Order" business object  has "Orders" property.

    We need to build next master-details table:

    Customer ( master )
      Customer.Orders ( detail level 1 )
        Order.Orders ( detail level 1 )
            Order.Orders( detail level 2 )
    .......................

    When we provide custom DetailDescription that returns "Orders" property value via reflection,

    We are able to see only one-level details drill-down:

    Customer
       Orders

    Other nested details are missing.

    We need to show other nested details ( and we do not know how much there will be nested orders ), how could this be achieved ?

    Another question is, is it possible to provide detail configuration "on the fly" :
    say, in our custom DetailDescription,
      if parentItem is "TypeA", we return "PropertyA". and show columns A, B,C.
      if parentItem is "TypeB", we return "PropertyB". and show another columns.

    That will be realy nice and powerful feature to display ritch hieararchical data.

    thanks in advance,
    my best regards,
    Volodymyr Fedyk

  •  05-28-2008, 1:18 PM Post no. 12549 in reply to 12548

    Re: Master-detail scenario + DetailDescriptions issue

    Hi Dorin,

     You can refer to the product documentation on Master/Detail feature, more particularly the section that describes how the auto-detection of details is done:

    http://doc.xceedsoft.com/products/XceedWpfDataGrid/Detail_Descriptions.html

    Marc Laroche
    Software Developer
    Xceed Software Inc.


    I don’t suffer from insanity, I enjoy every minute of it. - Unknown
    Filed under:
View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2008 Xceed Software Inc.