Hierarchy & Objectlists

2 posts, 0 answers
  1. Ramius
    Ramius avatar
    127 posts
    Member since:
    Feb 2008

    Posted 16 Jan 2009 Link to this post

    I have two Objectlists for example customers and orders which i have in bindinglists and i show them in a hierarchy-view in the radgridview.

    I have the following questions:

    1. Is it possible to have a visual feedback when a customer has no orders ?
    At the moment the user hast to click at the "+"-symbol to find it out.

    2. Is it possible to add a new row when a customer has no orders yet ? 
    At the moment a click at the "+"-symbol does not open the subtable for the orders.
    If the customer has one or more orders it is possible to add new orders.

    3.  If i delete the last order of a customer and click on the "-"-symbol and then
    again on the "+"-symbol the empty orders table for this customer is shown.
    Is it possible to get this functionality also for the case in question 2 ?

    Greetings,

    Ramius
  2. Jack
    Admin
    Jack avatar
    2333 posts

    Posted 19 Jan 2009 Link to this post

    Hello Ramius,

    Thank you for contacting us.

    Currently these features are not supported by RadGridView. I will add them to our TODO list. However you can use the RadGRidView.RowFormatting event to customize almost any aspect of grid rows appearance according to any custom conditions. In your case you may have to query you DataSource if there are any child records corresponding to the key value of the parent row.

    I have added points to your account for the suggestions.

    Don't hesitate to contact us if you have other questions.

    Kind regards,
    Jack
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top