This question is locked. New answers and comments are not allowed.
Hi there,
I have a RadGridView with one group descriptor on a page. First time visiting this page, items are added to the list and the grid displays them correctly, with the rows grouped correctly. If I leave this page and return to it, and the data has not changed, the grid shows the list not grouped.
I have turned the group panel visibility off and I am not displaying the column that is being grouped by. I don't want the users to change the grouping, I want the grouping to always be applied.
<telerik:RadGridView ShowGroupPanel="False" AutoGenerateColumns="False" ItemsSource="{Binding Incentives}" EditTriggers="None"
IsReadOnly="True" IsFilteringAllowed="False" Margin="5" x:Name="grd_incentives">
<telerik:RadGridView.GroupDescriptors>
<telerik:GroupDescriptor Member="Type" DisplayContent="{Binding Type}" />
</telerik:RadGridView.GroupDescriptors>
<telerik:RadGridView.Columns>
<telerik:GridViewDataColumn Header="Name" DataMemberBinding="{Binding Name}" Width="*" MaxWidth="250" />
<telerik:GridViewDataColumn Header="Bulletin Number" DataMemberBinding="{Binding BulletinNumber}" Width="115" />
<telerik:GridViewDataColumn Header="Special Instructions" DataMemberBinding="{Binding SpecialInstructions}" Width="250" />
</telerik:RadGridView.Columns>
</telerik:RadGridView>
Is there something I can do to re-apply the grouping?
grd_incentives.Items.Refresh(); didn't help
I have a RadGridView with one group descriptor on a page. First time visiting this page, items are added to the list and the grid displays them correctly, with the rows grouped correctly. If I leave this page and return to it, and the data has not changed, the grid shows the list not grouped.
I have turned the group panel visibility off and I am not displaying the column that is being grouped by. I don't want the users to change the grouping, I want the grouping to always be applied.
<telerik:RadGridView ShowGroupPanel="False" AutoGenerateColumns="False" ItemsSource="{Binding Incentives}" EditTriggers="None"
IsReadOnly="True" IsFilteringAllowed="False" Margin="5" x:Name="grd_incentives">
<telerik:RadGridView.GroupDescriptors>
<telerik:GroupDescriptor Member="Type" DisplayContent="{Binding Type}" />
</telerik:RadGridView.GroupDescriptors>
<telerik:RadGridView.Columns>
<telerik:GridViewDataColumn Header="Name" DataMemberBinding="{Binding Name}" Width="*" MaxWidth="250" />
<telerik:GridViewDataColumn Header="Bulletin Number" DataMemberBinding="{Binding BulletinNumber}" Width="115" />
<telerik:GridViewDataColumn Header="Special Instructions" DataMemberBinding="{Binding SpecialInstructions}" Width="250" />
</telerik:RadGridView.Columns>
</telerik:RadGridView>
Is there something I can do to re-apply the grouping?
grd_incentives.Items.Refresh(); didn't help