Can a RadDataGrid have a two way binding?
Whenever I edit a cell in the following TwoWay binded grid, the source collection is not updated. Is this the defined behaviour?
<tg:RadDataGrid x:Name="radGrid"
Grid.Row="1"
Style="{StaticResource RadDataGridInsideStyle}"
ColumnDataOperationsMode="Inline"
ItemsSource="{x:Bind ViewModel.TrainingsSummary, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
AutoGenerateColumns="False"
UserGroupMode="Disabled"
UserEditMode="None"
MinWidth="400"
The source collection is defined as follows:
public
ObservableCollection<OverviewTrainingsReportDTO> TrainingsSummary {
get
;
set
; } =
new
ObservableCollection<OverviewTrainingsReportDTO>();