Mischa Müller
Top achievements
Rank 1
Mischa Müller
asked on 12 Jan 2009, 03:31 PM
Hi,
how can I hide the GroupPanel in the nested grid of a Table Hierachy?
Further there seem to be a problem with the vertical grid lines in the
nested grid - they do not match the cell width.
Thanks a lot
Mischa
how can I hide the GroupPanel in the nested grid of a Table Hierachy?
Further there seem to be a problem with the vertical grid lines in the
nested grid - they do not match the cell width.
Thanks a lot
Mischa
3 Answers, 1 is accepted
0
Hello Mischa Müller,
The easiest way [declaratively] to hide the group panel is to set the ShowGroupPanel property to false. To do that for hierarchy children only, you need to create a global style that targets GridViewDataControl.
The vertical grid lines erroneous behavior on column resize is a bug that we confirmed a couple of days ago. You can work around it by hiding the GridViewBackground control (the one that displays the grid lines). Here is the RadGridView declaration containing the complete style that hides both the group panel and the column backgrounds:
Kind regards,
Hristo Deshev
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
The easiest way [declaratively] to hide the group panel is to set the ShowGroupPanel property to false. To do that for hierarchy children only, you need to create a global style that targets GridViewDataControl.
The vertical grid lines erroneous behavior on column resize is a bug that we confirmed a couple of days ago. You can work around it by hiding the GridViewBackground control (the one that displays the grid lines). Here is the RadGridView declaration containing the complete style that hides both the group panel and the column backgrounds:
<telerik:RadGridView Name="RadGridView1"> |
<telerik:RadGridView.Resources> |
<Style TargetType="telerik:GridViewDataControl"> |
<Setter Property="ShowGroupPanel" Value="False"></Setter> |
<Style.Resources> |
<Style TargetType="telerik:GridViewBackground"> |
<Setter Property="Visibility" Value="Hidden" /> |
</Style> |
</Style.Resources> |
</Style> |
</telerik:RadGridView.Resources> |
</telerik:RadGridView> |
Kind regards,
Hristo Deshev
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
C
Top achievements
Rank 1
answered on 19 Aug 2009, 05:54 PM
Hello, Related to the gridlines for child grids in a GridView with |
hierarchy, the style mentioned here does not work. - as the GridViewBackground does not exist. What is the solution to |
get proper alignment of GridView column headers and row column data for child |
grids in a hierarchy? Thanks and Regards, Chetna |
0
Hi,
Can you point us to some of our examples where this misalignment can be reproduced?
Greetings,
Vlad
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Can you point us to some of our examples where this misalignment can be reproduced?
Greetings,
Vlad
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.