Switch off 'automatic saving' in a dbgrid

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Guest

Switch off 'automatic saving' in a dbgrid

Post by Guest » Thu 20 Apr 2006 13:25

Hello,

when changing the data in a dbgrid-row, the data gets saved when you change to another row in the grid.

Is it possible to turn this feature off and to save the complete grid 'at once' ?

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Fri 21 Apr 2006 08:54

Try to set CachedUpdates of dataset to True. All updates will stay on client until calling ApplyUpdates. Read MyDAC help for detailed information.

Post Reply