DataGrid transactional without IEditableObject

Aug 23, 2010 at 2:07 AM

DataGrid seems to have a built in transactional behavior even for objects that don't implement IEditableObject. Edits are only commited to the object when the user navigate to a cell in another row.
Even more, if the object do implements IEditableObject the methods BeginEdit, EndEdit, CancelEdit are actually called, but no property is set while the user is entering data en each cell of the row. So the implementation of IEditableObject of the data item is not being used at all.
How can I disable this transactional behavior of the DataGrid that is interfering with the desing of my objects?

Sometimes I don't want transactional behavior, other times I do want transactional behavior but my own implementation using IEditableObject.