Hi,
I have a UserControl with SfDataGrid bound to a custom object collection.
When a new row is added to the datagrid, I need to set programmatically the value of a specific column. I see the datagrid creates a new object for the new row, yet cannot set the respective property of the object in the constructor, as at that moment the value is still unknown.
How can I get a reference to the newly created object bound to the new row in order to set its property programmatically?
Would an alternative solution be to set the value of a cell on a newly created row in the datagrid and, if yes, how can I do that?
Best regards,
Alexander