Hi,
I was wondering if there was a way to achieve column grouping similar to http://www.telerik.com/help/winforms/gridview-viewdefinitions-column-groups-view.html in WPF?
I have tried adding to the ChildGroups of the column groups but this doesn't seem to work the same way as the example in the above link.
The problem that I am seeing is that for column groups that do not have nested groups there appears to be an extra row added above each of these (to fill the space for those groups that do have children) which doesn't pick up my style and pushes the content of these groups down so not all of it is visible. What I would like to happen is that for the column groups that contain no nested groups is that the content of these cells fills the space without the extra row above it like the "Customer Contact" group in the winforms example in the link.
Thanks,
Steven
I was wondering if there was a way to achieve column grouping similar to http://www.telerik.com/help/winforms/gridview-viewdefinitions-column-groups-view.html in WPF?
I have tried adding to the ChildGroups of the column groups but this doesn't seem to work the same way as the example in the above link.
The problem that I am seeing is that for column groups that do not have nested groups there appears to be an extra row added above each of these (to fill the space for those groups that do have children) which doesn't pick up my style and pushes the content of these groups down so not all of it is visible. What I would like to happen is that for the column groups that contain no nested groups is that the content of these cells fills the space without the extra row above it like the "Customer Contact" group in the winforms example in the link.
Thanks,
Steven
6 Answers, 1 is accepted
0
Hi Steven,
Yoan
the Telerik team
It turns out that this functionality is not available with RadGridView for WPF/Silverlight. Please note that, adding this functionality to RadGridView is one of the things that we will consider for implementation in the near future.
Yoan
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
0
Ankur
Top achievements
Rank 1
answered on 31 Jan 2013, 02:51 PM
Hi Steven,
I stumbled upon your post as I need to do something similar.
Scroll to the bottom of this page
http://www.telerik.com/help/wpf/gridview-columns-column-headers.html
Good luck!!
Ankur
I stumbled upon your post as I need to do something similar.
Scroll to the bottom of this page
http://www.telerik.com/help/wpf/gridview-columns-column-headers.html
Good luck!!
Ankur
0
Steven
Top achievements
Rank 1
answered on 31 Jan 2013, 04:26 PM
Hi Ankur,
Thanks but that doesn't work in the way I would like.
In http://www.telerik.com/help/winforms/gridview-viewdefinitions-column-groups-view.html the there is two levels on the 'Customer Contact' side and three levels on the 'Details' side. The top level header on the 'Customer Contact' side also takes up the same vertical spaces as the top two levels on the 'Details' side.
When I try the suggestion from the link you provide, i.e.
what happens is that there are 3 levels on the 'Customer Contact' side with the top level being empty and 'Customer Contact' going to the same level as 'Address' and 'Contact' from the 'Details' side which isn't what I'm looking for.
Thanks,
Steven
Thanks but that doesn't work in the way I would like.
In http://www.telerik.com/help/winforms/gridview-viewdefinitions-column-groups-view.html the there is two levels on the 'Customer Contact' side and three levels on the 'Details' side. The top level header on the 'Customer Contact' side also takes up the same vertical spaces as the top two levels on the 'Details' side.
When I try the suggestion from the link you provide, i.e.
<telerik:RadGridView.ColumnGroups> <telerik:GridViewColumnGroup Name="Data" Header="Data"> <telerik:GridViewColumnGroup Name="VehicleInfo" Header="Vehicle info" /> <telerik:GridViewColumnGroup Name="Dimensions" Header="Dimensions" /> </telerik:GridViewColumnGroup> </telerik:RadGridView.ColumnGroups>
what happens is that there are 3 levels on the 'Customer Contact' side with the top level being empty and 'Customer Contact' going to the same level as 'Address' and 'Contact' from the 'Details' side which isn't what I'm looking for.
Thanks,
Steven
0
Ankur
Top achievements
Rank 1
answered on 31 Jan 2013, 05:28 PM
hmm.... you are right. Doesnt look possible usinf this approach. I will let you know if I find any workaround.
I have same levels in each group so will work for me though :)
I have same levels in each group so will work for me though :)
0
Lukasz
Top achievements
Rank 1
answered on 04 Mar 2015, 05:06 PM
Hi,
Is netsted column groups supported in UI for WPF Q1 2015?
Thanks,
Łukasz
Is netsted column groups supported in UI for WPF Q1 2015?
Thanks,
Łukasz
0
Hi Łukasz,
Nested Column Groups are already supported. You can find more details in the following article and example. The same example is also available with the WPF Demos.
Regards,
Dimitrina
Telerik
Nested Column Groups are already supported. You can find more details in the following article and example. The same example is also available with the WPF Demos.
Regards,
Dimitrina
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.