Hi dear forum members,
I am using a telerik:GridView with DomainDataSource and telerik:DataPager.
GridView.ItemsSource and RadDataPager.Source are set to
"{Binding Data, ElementName=TeachersDomainDataSource}"
Everything works fine: Loading Data, Paging... Now when I add a new Item to my ServiceContext like this:
I would like to have it already displayed in the DataGrid (as empty line or probably with defaults later on). Except it is not displayed automatically and I'm not sure why - I would have expected the INotifyCollectionChange to kick in here....
What additional step would I need to take, to have the newly added Item dispay in my GridView?
Thanks for any hint!
Kind regards,
Wolfgang
I am using a telerik:GridView with DomainDataSource and telerik:DataPager.
GridView.ItemsSource and RadDataPager.Source are set to
"{Binding Data, ElementName=TeachersDomainDataSource}"
Everything works fine: Loading Data, Paging... Now when I add a new Item to my ServiceContext like this:
private
void AddTeacher(object o)
{
var newTeacher = new Teacher();
Context.Teachers.Add(newTeacher);
SelectedTeacher = newTeacher;
SelectedTeacher.BeginEdit();
}
I would like to have it already displayed in the DataGrid (as empty line or probably with defaults later on). Except it is not displayed automatically and I'm not sure why - I would have expected the INotifyCollectionChange to kick in here....
What additional step would I need to take, to have the newly added Item dispay in my GridView?
Thanks for any hint!
Kind regards,
Wolfgang