Hi.
I am trying to add new item into GridView with UI.
My GridView ItemsSource setting. Analytics_Passports_FIO implements INotifyPropertyChanged:
AnalyticsPassportsLinqToSqlDataContext dc =
new
AnalyticsPassportsLinqToSqlDataContext(Properties.Settings.Default.DefaultConnectionString);
var query = (from u
in
dc.Analytics_Passports_FIO select u);
var FIOs =
new
ObservableCollection<Analytics_Passports_FIO>(query);
GridFIODetails.ItemsSource = FIOs;
My FilterDescriptor inititalizing:
FilterDescriptor filter =
new
Telerik.Windows.Data.FilterDescriptor(
"user_id"
, Telerik.Windows.Data.FilterOperator.IsEqualTo, id);
GridFIODetails.FilterDescriptors.Clear();
GridFIODetails.FilterDescriptors.Add(filter);
If i am trying to add new item in GridView with default UI abilities(NewRow button) it doesn't appears in grid.
What am i doing wrong?