Problem with DataSource.DataChange / Repaint on a wwDBGrid
for a current project we use the wwDBGrid to calculate certain numbers. We use the DataSource.DataChange to issue the command to calculate (see below in the code).
The problem is that the wwDBGrid does not display the result until we leave the row or jump into the result row. The goal would be that the result is drawn immediately in the result row or when leaving the cell.
procedure TForm1.dsMEAADataChange(Sender: TObject; Field: TField);
if field = nil then exit;
if ( field = mtbMEAAa ) or ( field = mtbMEAAb ) or ( field = mtbMEAAc ) or
( field = mtbMEAAd ) or ( field = mtbMEAAf ) or ( field = mtbMEAAMenge )
Thanks in advance!
Please sign in to leave a comment.