Suppose XamGrid is bound to ObservableCollection<Person>.
Then I want to user able to put personid in ID column and populate other data like firstname, lastname from database with ria service.
For example, user can input 123 in ID column, then John Smith will retrieved from database and put in column for FirstName and LastName.
How to implemen this? I try to write code in event XamGrid_CellExitedEditMode, but e.Cell.Row.Data is not accessible.
If I were you I would implement the logic to fetch the additional data in the setter of the ID property, then when the data is returned simply update the Firstname and LastName properties. If the FirstName and LastName properties of your model implement INPC then the grid will automatically update when you change them
Devin
As People is Entity from EF which already implements INPC, how to tune it for this requirement? Could you give me a sample for this case using it in XamGrid? Thanks.