I'm using the latest version of the Grid View and the PersistenceFramework. When using the sample code for these two items (from the PersistenceFramework - GridView example) everything appears to work as expected, but this uses a ObjectDataProvider to provide the data. (I'm following the MVVM pattern) Moving the data collection to an ObservableCollection<Customer> and setting the DataContext to this collection works correctly in the first instance, and grouping works correctly, but when I restart the application, the grouping is applied correctly, but the group header in the Group Panel is present but the text is missing. Has anyone seen a similar problem, or have a clue why this is happening?
It may be worth noting, that I'm making use of the DisplayAttribute to set the column headings. Also I have auto add columns turned off and adding the columns explicitly in code.
It may be worth noting, that I'm making use of the DisplayAttribute to set the column headings. Also I have auto add columns turned off and adding the columns explicitly in code.
<
telerik:RadGridView
x:Name
=
"RadGridView1"
CanUserDeleteRows
=
"False"
CanUserInsertRows
=
"False"
EnableColumnVirtualization
=
"False"
AutoExpandGroups
=
"True"
AutoGenerateColumns
=
"False"
RowIndicatorVisibility
=
"Collapsed"
RowHeight
=
"20"
Persistence:PersistenceManager.StorageId
=
"RepoTradeSecurityListGridView"
ItemsSource
=
"{Binding}"
VerticalAlignment
=
"Stretch"
>
<!--ItemsSource="{Binding Source={StaticResource customers}}"-->
<
telerik:RadGridView.Columns
>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding CustomerID}"
IsFilterable
=
"False"
IsCustomSortingEnabled
=
"False"
IsVisible
=
"True"
/>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding City}"
IsFilterable
=
"False"
IsCustomSortingEnabled
=
"False"
IsVisible
=
"True"
/>
</
telerik:RadGridView.Columns
>
</
telerik:RadGridView
>