Hi.
Has infragistics brought in support for Unbound Fields for IdataErrorInfo ?
if yes Which version is this available in ? Also I would like to see a sample with ?Unbound Fields ?
Hello,
As long as the class of the underlying property the column is bound to implements IDataErrorInfo, the Grid will display the errors. Please see attached sample.
Let me know if you have any questions.
Sincerely,
Valerie
Developer Support Engineer
Infragistics
www.infragistics.com/support
Do you have any other questions on this matter?
Sincerely,ValerieDeveloper Support Engineer Infragisticswww.infragistics.com/support
Hi I used your sample project and tried to make the grid editable to add new records
I added these properties to xaml AllowAddNew="True" AllowDelete="True", and the Age (Field) value is put in data source but the First name and Last name (UnBoundField) don't go into Data source..
Does unbound Field support data addition?
I have modified the original sample to add the “Add New” functionality.
In order to add the Name a constructor was added to the Customer class which creates the Name object. In addition, I set the Binding Mode to two way on the unbound fields, finally I added INotifyPropertyChanged to the classes to reflect the changed values and added a listbox below the grid to display the changes in the underlying data.
Hope this helps, let me know if you have any questions.