I am using a xamDataGrid from WPF Line of business 2010 vol. 3 under Windows 7. My grid is bound to a DataView object exposed from a ViewModel class. In the FieldLayoutInitialized event handler, I set some of the fields to have Field.Settings.AllowEdit = true and other fields to be false.
When I run the application and click on an editable field I am able to access edit mode without problem (see below).
If I then click on one of the non-editable fields, this field is selected but not made editable, as I would expect. The problem arises when I then click back on to an editable field. The field is selected, but not put in to edit mode (see below).
Apologies all. I have located the issue here. I had an asynchronous process setting DataRecord.IsSelected property, which was overriding the editmode.
Regards
Ben