Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1055
Problem loading data in a background process
posted

Hallo,

 I have a object data source with a high band depth. Because of the huge data I want to load the data in a other thread. This is my way:

  1. I load the the first two bands and initialisize the childs with a dummy.
  2. Then I bind this to the gird.
  3. In the background process i replace the dummy with real data.

But I have several problems:

  • If I load the data the second (sometimes third) time, the dummy is not complete replaced: The cell values are still the values from the dummy and the childcollection is correct. Confused
  • If I implement a Tread.Sleep to factitios spend time the dummy is displayed (thats correct). When my process is finish, it raise an event which does a rebound. But the rebound does'n work. The dummy is still displayed instead of the real data.

Now my question: Is it possible to load the data in the backgound thread? If yes: How?

Parents Reply Children
No Data