Hi,
I have a RadGridView as shown in the below code
I have a RadGridView as shown in the below code
<
telerik:RadGridView
Name
=
"radGV_Library"
AutoGenerateColumns
=
"False"
ItemsSource
=
"{Binding ListOfLibraryObjects}"
ShowGroupPanel
=
"False"
SelectionChanged
=
"radGV_Library_SelectionChanged"
CanUserSortColumns
=
"False"
CanUserFreezeColumns
=
"False"
CanUserReorderColumns
=
"False"
CanUserResizeColumns
=
"False"
>
<
telerik:RadGridView.Columns
>
<!--<telerik:GridViewSelectColumn/>-->
<
telerik:GridViewDataColumn
Header
=
"Name"
DataMemberBinding
=
"{Binding Name}"
IsFilterable
=
"False"
>
<
telerik:GridViewDataColumn
Header
=
"Description"
DataMemberBinding
=
"{Binding Description}"
IsFilterable
=
"False"
IsReadOnly
=
"True"
/>
<
telerik:GridViewDataColumn
Header
=
"Is Master"
DataMemberBinding
=
"{Binding IsMaster}"
IsFilterable
=
"False"
IsReadOnly
=
"True"
/>
<
telerik:GridViewDataColumn
Header
=
"Object ID"
DataMemberBinding
=
"{Binding ObjectID}"
IsFilterable
=
"False"
IsReadOnly
=
"True"
/>
</
telerik:RadGridView.Columns
>
</
telerik:RadGridView
>
The GridView is in a user control and the data context is passed to the user control it as below
public void RefreshDataContext(VOC.Models.TheGameScreenM _theGSM)
{
this.DataContext = null;
this.DataContext = _theGSM;
}
The GridView loads and refreshes with no problem. But I cannot edit the first column (the name column, which is string data). When the cell gets into edit mode, only the "space" and "back space" works. No other keys on the keyboard works to update the cell content. But however, the paste from right-click context menu works. So if I copy a text from somewhere and paste it in the cell, then that works.
I have tried
1. Mode = TwoWay
2. DataType = "{x:Type sys:String}"
nothing works!
Why is that?