Hello!
I want to add a column to the datagrid that will allow the user to enter in "Edit Mode" for this row. Is that possible?
I have the following code, but it's not working:
This code is used inside a GridView that inherits from RadGridView.
In documentation, you also have the following code:
But I really don't understand why we need this.... "editCommand" is never used.... (I tried to add it to the page where my grid is, but it still not works!)
Thanks for help!
Bastien
I want to add a column to the datagrid that will allow the user to enter in "Edit Mode" for this row. Is that possible?
I have the following code, but it's not working:
<
telerik:GridViewColumn
>
<
telerik:GridViewColumn.CellTemplate
>
<
DataTemplate
>
<
telerik:RadButton
Content
=
"Edit"
Command
=
"telerikGrid:RadGridViewCommands.BeginEdit"
CommandParameter
=
"{Binding}"
/>
</
DataTemplate
>
</
telerik:GridViewColumn.CellTemplate
>
</
telerik:GridViewColumn
>
This code is used inside a GridView that inherits from RadGridView.
In documentation, you also have the following code:
public
MainPage()
{
ICommand editCommand = RadGridViewCommands.BeginEdit;
InitializeComponent();
}
But I really don't understand why we need this.... "editCommand" is never used.... (I tried to add it to the page where my grid is, but it still not works!)
Thanks for help!
Bastien