Page 1 of 1

Gridposition after Refresh

Posted: Wed 05 Mar 2008 13:49
by cis-wurzen
In version 6.25.2.14 the TDBGrid scrolls after refresh as described in Topic 4993. Same in version 5.80.0.42.

With version 5.70.1.34 this doesn't happen.

Property KeyFields is always set.

http://crlab.com/forums/viewtopic.php?t=4993

Posted: Thu 06 Mar 2008 08:24
by Plash
Please specify whether TDBGrid component scrolls to the first row, or current row remains the same but the position of that row on the screen has changed.

Posted: Thu 06 Mar 2008 08:47
by cis-wurzen
The current row remains the same but the position of that row on the screen has changed (moved to the top).

Posted: Tue 11 Mar 2008 09:07
by Plash
This is not a bug. In the latest ODAC versions we have fixed some problems with Refresh. As a result, data in the grid are reloaded on Refresh, and the position of current row on the screen is lost. But the changes are required because the old behaviour leads to access violations.