Progress Bar : how much of grid is loaded

Hello All,

I have following problem :

Our databound grids mostly contain thousands of records.
It takes a while before the grid is displayed.

Now we want to create a progress bar somewhere on the form or in the grid that displays the percentage of the remaining loading time.

Is there an event that is triggered for every new row (in a databound grid) or is there another solution to solve this problem ?

Thanks in advance !
Gert

1 Reply

AD Administrator Syncfusion Team March 23, 2007 03:05 PM UTC

Hi Gert,

If you register a Model.OperationFeedbackListener, the grid will display a progressbar for long operations for you. Take a look at the \Syncfusion\Essential Studio\4.4.0.49\windows\Grid.Windows\Samples\FeatureSamples\GridPopulationSample\ sample. If you create a Syncfusion.Windows.Forms.DelayedStatusDialog object and set it in grid.Model.OperationFeedbackListener, then you will see the progress bar when the grid does things that take a long time. You can control when the bar appears, etc through property settings.

You can also just show a wait cursor with these setting (instead of teh ones in sample):

handler.ShowWaitCursor = true;
handler.ShowDialogPercentRule = 0;
handler.ShowWaitCursorPercentRule = 50;

Best Regards,
Haneef

Loader.
Up arrow icon