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

Hierarchical sub grid sharing column headers with parent

4 Answers 217 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Stevo
Top achievements
Rank 1
Stevo asked on 01 Oct 2013, 04:21 PM
Hi,

we would like to have a simple hierarchical GridView with sub grid that is shown after expanding a row, as usual.
 
The catch is that we want the subgrid in row details to be sharing the same column headers (i.e. columns) with the original parent grid, since the data in the parent and child grids is of same structure. That way we save on introducing another header showing same column headers and the UI becomes cleaner and easier to understand.

Note that functionality like resizing columns should still be working, i.e. resizing both main and sub grids. We are not that concerned about grouping, but I suppose it would be nice for it to still work on the parent grid at least.

What is the best way of implementing this?

Thanks,
Stevo

4 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 02 Oct 2013, 08:04 AM
Hi Stevo,

Have you checked our RadTreeListView component? You can check our WPF Demos on it and decide if it suits your scenario better.

Regards,
Didie
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Stevo
Top achievements
Rank 1
answered on 02 Oct 2013, 03:22 PM
Hi Didie,

Interesting, looks like it does what I was asking about out-of-the-box. However it looks like it's missing grouping, which apparently our users like after showing it to them.

Also, can you do inline editing? What about handling large number of records - paging etc... is it supported too?

Thanks,
Stevo
0
Dimitrina
Telerik team
answered on 03 Oct 2013, 07:47 AM
Hi Stevo,

Indeed, grouping is not supported.

You can do inline editing and you can also populate it with paged data.
 

Regards,
Didie
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Dimitrina
Telerik team
answered on 03 Oct 2013, 07:52 AM
Hello,

Just a quick follow up!
You can also use the approach from this post with RadGridView to simulate treelist like structure.  


Regards,
Didie
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
GridView
Asked by
Stevo
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Stevo
Top achievements
Rank 1
Share this question
or