I need to refresh dbgrid constantly, in real time. Close and open dataset works fine, but blink the dbgrid. What can I do to avoid this?
I'd like a solution like Ajax, that update only the necessary.
Thanks
I need to refresh dbgrid constantly, in real time. Close and open dataset works fine, but blink the dbgrid. What can I do to avoid this?
I'd like a solution like Ajax, that update only the necessary.
Thanks
I use this in my app
The above code is in an
action
named actRefreshData, in theActionManager
When I need to use I just call it like
Hope this helps.
Hint: you can add a
Timer
and automate thisHave you tried to use Disable- & EnableControls?
Furthermore, it should be possible to just call DataSet.Refresh instead of closing and opening to get the same result.
Look here: