Editing existing items in the grid works fine, but when I click on 'Click here to add new item', nothing happens.
In my view model I have an IQueryable:
In the view, I have a RadGridView bound to the Data property:
In my view model I have an IQueryable:
public
IQueryable<MyModel> Data
{
get
{
return
this
.dataService.GetData(); }
}
In the view, I have a RadGridView bound to the Data property:
<
telerik:RadGridView
Name
=
"RadGridView1"
GroupRenderMode
=
"Flat"
ShowInsertRow
=
"True"
CanUserInsertRows
=
"True"
CanUserFreezeColumns
=
"False"
ItemsSource
=
"{Binding Data}"
AutoGenerateColumns
=
"False"
SelectedItem
=
"SelectedItem"
ActionOnLostFocus
=
"CommitEdit"
RowIndicatorVisibility
=
"Collapsed"
ShowGroupPanel
=
"False"
>