or
If I have GridView multi-level grouping how can I remove the empty "Group Name" levels, See the attachment.
Thanks in advance...
Regards,
Mina
class Data{ public string Product { get; set; } public decimal Quantity { get; set; } public decimal Reserved { get; set; }}<Window x:Class="WpfApplication2.MainWindow" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" Title="MainWindow"> <Window.Resources> <Style x:Key="DefaultRadPaneStyle" TargetType="telerik:RadPane"> <Setter Property="Focusable" Value="False" /> <Setter Property="PaneHeaderVisibility" Value="Collapsed" /> <Setter Property="CanUserClose" Value="False" /> <Setter Property="CanFloat" Value="False" /> <Setter Property="CanDockInDocumentHost" Value="False" /> <Setter Property="CanUserPin" Value="False" /> <Setter Property="IsPinned" Value="True" /> <Setter Property="ContextMenuTemplate" Value="{x:Null}" /> </Style> </Window.Resources> <Grid> <telerik:RadDocking x:Name="docking" AllowUnsafeMode="True"> <telerik:RadDocking.DocumentHost> <Grid /> </telerik:RadDocking.DocumentHost> <telerik:RadSplitContainer Orientation="Vertical" InitialPosition="DockedLeft" Width="300" MinWidth="100" MaxWidth="400"> <telerik:RadPaneGroup MinHeight="100" MaxHeight="300"> <telerik:RadPane Style="{StaticResource DefaultRadPaneStyle}" /> </telerik:RadPaneGroup> <telerik:RadPaneGroup> <telerik:RadPane Style="{StaticResource DefaultRadPaneStyle}" /> </telerik:RadPaneGroup> <telerik:RadPaneGroup> <telerik:RadPane Style="{StaticResource DefaultRadPaneStyle}" /> </telerik:RadPaneGroup> </telerik:RadSplitContainer> <telerik:RadSplitContainer Orientation="Horizontal" InitialPosition="DockedBottom" Height="300" MinHeight="100" MaxHeight="400"> <telerik:RadPaneGroup> <telerik:RadPane Style="{StaticResource DefaultRadPaneStyle}"> </telerik:RadPane> </telerik:RadPaneGroup> <telerik:RadPaneGroup> <telerik:RadPane Style="{StaticResource DefaultRadPaneStyle}"> </telerik:RadPane> </telerik:RadPaneGroup> <telerik:RadPaneGroup> <telerik:RadPane Style="{StaticResource DefaultRadPaneStyle}"> </telerik:RadPane> </telerik:RadPaneGroup> </telerik:RadSplitContainer> </telerik:RadDocking> </Grid></Window>