Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread Filling a grid in background
Mon, Jan 15 2007 10:51 AMPermanent Link

This is probably something a lot of people would like to do, so I hope I
am travelling well trod ground with this question:

How can I fill the data storage of a Dev Express grid from a DBISAM query
in the background? The key being that the grid loads all the data in one
go, and I can have a lot of it. The UI freezes for a while when I have
a few windows like this open, so I wonder if there is an easy trick to do
the update in a background thread?

/Matthew Jones/
Tue, Jan 16 2007 3:50 AMPermanent Link

"Frans van Daalen"

"Matthew Jones" <mattjones@cix.co.uk> wrote in message
news:memo.20070115154502.4376G@nothanks.nothanks.co.uk...
> This is probably something a lot of people would like to do, so I hope I
> am travelling well trod ground with this question:
>
> How can I fill the data storage of a Dev Express grid from a DBISAM query
> in the background? The key being that the grid loads all the data in one
> go, and I can have a lot of it. The UI freezes for a while when I have
> a few windows like this open, so I wonder if there is an easy trick to do
> the update in a background thread?
>
> /Matthew Jones/

Is no that easy to answer. It depends whether or not you still need the
autosort/filter etc. If not needed or you have no problem writing these
source lines yourself changing the gridmode to true will make the grid load
fast.


Tue, Jan 16 2007 7:54 AMPermanent Link

I would like the filtering etc of the grid. I suppose my ideal is that the
thread could load a data source thing of theirs, and then when ready the
main thread links it to the grid. Perhaps I ought to ask on the dev
express forums since it is more their issue than DBISAM.

/Matthew Jones/
Image