When exactly does this event fire? My event handler is not being called after items have been added to underlying collection, even though I see new data in grid.
TIA.
Hello,
The RecordAdding/ed events are being fired when an item is being added through the AddNewRecord UI of the XamDataGrid. Adding/Inserting items in the underlying collection will not fire these events. For this, you can use the CollectionChanged event of the collection itself or the CollectionChanged event of the Rows collection.
Problem here is I want to manually select a record in the grid after items have been added. If I want to get a hold of a DataRecord in the grid within my collection changed handler, the DataRecord will not be there as it has not yet been created by the grid. So I wanted a way to know when records are actually in the grid.
No problems as I have simply selected my data item within the CollectionChanged handler and used grid style to show this as selected.