Nested dataviews, prevent before commit events to be executed
I'm working with mendix 2.4.5. I have form with one dataview on it... let's say employee. On this dataview I have nested dataview on it... let's say contract. This nested dataview is readonly = true, return on finish = false, show control bar = false and create object = false. When I save the employee with a default save button the before commit event on the contract is triggered. I would like to prevent this from happening, because it's readonly. Is there a way to do this?
I think you have to use a custom save button where you just commit the employee changes.