debugging DataGrid behavior
Problem: After re-loading a DataGrid via a context menu pick, edited cells revert to their pre-edit state as soon as new cell is selected.
Diagnosing:
1. Loading multiple times before first display of Form doesn’t fail.
2. Removing relation from schema doesn’t change behavior.
3. Removing LinkLabel columns & sorting and AllowNew = false eliminates problem.
4. It’s the AllowNew = false.
5. Switching to Merge instead of direct Fill data set load pattern eliminates problem.
6. Inserting a AllowNew = true & AllowNew = false around the clear/fill also eliminates the problem.