I am sure that I am missing something basic here, but I cant get this control to behave. I tried a number of different things to get the data in the ObservableCollection to show up in the gridview with no luck.
(Using .netcore 3.0 libs)
The gridview is bound to the following property in the xaml .
<telerik:RadGridViewVerticalAlignment="Top"
x:Name="ProdRecordsGridView"
Grid.ColumnSpan="3"
Grid.Row="1"
AutoGenerateColumns="false"
ItemsSource="{Binding ProductionRecords}"
Margin="5"
SelectedItem="{Binding SelectedProductionRecord}">
<telerik:RadGridView.Columns>
<telerik:GridViewDataColumn
UniqueName="DatePartProduced"
DataMemberBinding="{Binding ProductionDate }"
IsFilterable="False"
DataFormatString="d"
EditTriggers="Default"
Header="ProdDate" />
</telerik:RadGridView.Columns>
</telerik:RadGridView>
The ViewModel has the following Property
public ObservableCollection<ProductionRecordModel> ProductionRecords { get => _records; set => _records = value; }
The grid control appears to be bound correctly to the ObserveableCollection, because setting a breakpoint on the ProductionRecordModel.ProductionDate getter, (the first column in the grid is bound to this property) is called for each element in the collection.
There just does not appear to be any data in the gridview, I am stumped.
Any ideas what I am doing wrong here?
Thanks
-Sean