I have the following code handling the InitRecord event from a xamDataGrid. The problem is that when the event is raised on a new object, the DataItem is returning null, even though the new object was successfully added to the collection in memory. Any ideas?
object sender,
) {
record = (DataRecord)e.Record;
record.FieldLayout.Fields[ "Location" ].Settings.AllowEdit =
}
Anyone have any idea? Am I doing something wrong here?