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
1590
UI Struck for a moment as huge data is binded with the grid
posted

Hi,

I am binding some huge data containing almost half million records, now when the data start binding with the grid, my UI struck or halt for a moment until initialize row and control drawing complete.

I have also uses background worker thread, so that the data binding took place in that thread, but same the case here, UI again halting.

Is there any way that my UI doesn't halt no matter how much records i have

Regards:

iMi

Parents
No Data
Reply
  • 469350
    Offline posted

    Hi iMi,

    You could try using the grid in OnDemand mode with the UltraDataSource component. There's a sample of this in the WinGrid and under the UltraDataSource samples called the "Virtual Mode Sample."

    I would strongly advise you against using a Background worker thread with DataBinding. This is extremely complex and  dangerous and there is really no way to make this work safely.

    There's a long discussion of this here: Work with a dataset bound to a grid on a separate thread - Infragistics Community

Children