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
705
Merging DataSet causes Ultragrid to freeze
posted

I currently have an ultragrid that is bound to a DataSet containing a number of DataTables.

I update this grid by merging an updated DataSet with my current DataSet.  This seems to work OK, however the merge takes 3 seconds, during which time the ultragrid is unresponsive.  Seeing as I'm updating the data every 10 seconds that means my grid is unusable for 30% of the time which is a bit of a problem for the user.

Is there a way to merge the DataSet without hanging the grid?

Charlie

Parents
No Data
Reply
  • 1775
    posted

    Try grid.BeginUpdate() and grid.SuspendRowSynchronization()

    Don't forget to reenable them in finally{} clause

Children