DBAdvGrid - post on exit ?

Hi TMS Team,


I have a DBAdvGrid in my form and I allow to edit the grid with "goEditing = True". In my form I have a "cancel" button. So if the user edits the grid and wants to cancel his modifications, he just click on the button. But when I exit the grid, then it posts all the modifications.

I take a look at the properties of the grid and didn't find the one that allow me to do this ?

Can you help me ?

Thanks

If the modifications were done on the dataset via the TDBAdvGrid, there is no built-in mechanism in TDBAdvGrid itselt to roll-back these changes done. This is something you would need to implement at application level on the dataset.