Ignore changes on a nested datasource

Hi,

I have a screen with a frame inside.

When I am opening the frame I am sending a nested datasource from the screen and the frame is editable.

I want to ignore the changes on the frame nested datasource, so when I press ESC or Cancel I don’t have any unsaved changes (Something like setBuffered on a field).

Is this achievable?

Thanks in advance,
Ivan

Solved with a setBuffered() on the frame fields and then setting the field value in precommit() in the screen.