AllowAddNew Option can't work when it binds properties placed in the class and its parent class.
Hello.
I Set "AllowAddNew" option ON to update cell values of the record onto data model class.
I expected all fields displayed which have the public properties throughout from parent to child class. With injected records initializing from code-behind, It displays fine.But the "AddNewRecord" Row show only properties in parent class so that I can't update the properties in child class.
Please see the attached sample.
thank you so much
Hello James.Jeon,
Thank you for waiting.
After investigating this, it turned out that the problem is that the parent data is consumed as "CompBase" class and child data is consumed as "PinBase" class.
What I mean by that, "CompBase" class only has "NameInBaseClass" property and "PinBase" only has "NameInBaseClass". So you can only add "NameInBaseClass" property.
In general, xamDataGrid consumes same type of data. so, you should include all properties in one class instead of inheritance.
I hope this will help.
Best regards,Tatsushi KiryuDeveloper support EngineerInfragistics
Thank you for posting in our community.
I'm investigating this. I will let you know if there is any further update.