Hi,
i am using a DataGrid with IsSynchronizedWithCurrentItem="True". It does not work.
01.
<
telerik:RadGridView
x:Name
=
"MyDataGrid"
02.
Grid.Row
=
"1"
03.
SelectionMode
=
"Single"
04.
IsReadOnly
=
"True"
05.
AutoGenerateColumns
=
"False"
06.
IsSynchronizedWithCurrentItem
=
"True"
07.
CanUserDeleteRows
=
"False"
08.
CanUserFreezeColumns
=
"False"
09.
CanUserInsertRows
=
"False"
10.
CanUserReorderColumns
=
"False"
11.
CanUserResizeColumns
=
"False"
12.
CanUserSortColumns
=
"False"
13.
CanUserSortGroups
=
"False"
14.
IsFilteringAllowed
=
"False"
15.
ShowGroupPanel
=
"False"
16.
ShowColumnHeaders
=
"False"
17.
ItemsSource
=
"{Binding ItemsSource, ElementName=MyDataForm}"
18.
SelectedItem
=
"{Binding CurrentItem, ElementName=MyDataForm}"
>
19.
<
telerik:RadGridView.Columns
>
20.
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding Id}"
Header
=
"Id"
Width
=
"20"
IsVisible
=
"False"
/>
21.
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding Name}"
Header
=
"Katalogeintrag"
Width
=
"*"
/>
22.
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding Catalog.Id}"
Header
=
"Katalog"
Width
=
"20"
IsVisible
=
"False"
/>
23.
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding Locked}"
Header
=
"Gesperrt"
Width
=
"10"
IsVisible
=
"False"
/>
24.
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding System}"
Header
=
"System"
Width
=
"10"
IsVisible
=
"False"
/>
25.
</
telerik:RadGridView.Columns
>
26.
</
telerik:RadGridView
>