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

Hierarchy & Objectlists

1 Answer 67 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Ramius
Top achievements
Rank 1
Ramius asked on 16 Jan 2009, 02:49 PM
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

1 Answer, 1 is accepted

Sort by
0
Jack
Telerik team
answered on 19 Jan 2009, 05:36 PM
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.
Tags
GridView
Asked by
Ramius
Top achievements
Rank 1
Answers by
Jack
Telerik team
Share this question
or