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
3160
How to build pivot grid on a background thread?
posted

I need to be load a pivot grid without blocking my UI.  I am using:

ExposureGrid.DataSource.DeferredLayoutUpdate = true;
ExposureGrid.DataSource.LoadSchemaCompleted += (s, e) =>
                {
                    ViewModel.LoadingData = false;
                };
            ExposureGrid.DataSource.LoadSchemaAsync();
            ExposureGrid.DataSource.DeferredLayoutUpdate = false;  

Of course, LoadSchemaCompleted never fires.