Refresh of a DBGrid



Hello!

I have a DBGrid component showing the result of an ADOQuery. Now I want to
do a refresh in a timer to update the values in the grid. The problem is I
dont' want the grid to start showing the first record on top again. I want
the screen to stay at it's current position except mayby one row up or down
if some new rows have been added or removed to the dataset. How Do I do
this?

Regards, Mikael


.



Relevant Pages

  • Re: Checking for GUI overload
    ... grid is updated by incoming data from the network. ... We can easily solve this by minimizing Refresh on the grid if too much ... IMHO, the solution to this sort of problem is to set a specific "refresh rate" for the UI that is strictly time-based. ... This is one of the few places where a polling strategy (use a timer, inspect the current state of the data) can definitely work better than an interrupt-driven one. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Grid Refresh!!!
    ... First download the new Atlas June CTP http://atlas.asp.net/ ... simple add a atlas:ScriptManager and involve the Grid ... add a timer and set the grid to refresh every ...
    (microsoft.public.dotnet.framework.aspnet.datagridcontrol)