Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1050
problem adding new records
posted

with normal table data, i am able to add new records.

if i am using ObservableCollection as datasource...binding.

on addbutton click i am writing this code...but, still its not showing(not even the plus sign) the empty record template to enter new data. 

dg.FieldLayoutSettings.AllowAddNew =
true;

dg.FieldLayoutSettings.AddNewRecordLocation = AddNewRecordLocation.OnTopFixed;

any advice?