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
370
"Flood fill" functionality implementation (ie progress bar in cells)
posted

In the WinGrid sample explorer for Infragistics 7.1 version, a sample named "Flood Fill" (located in "Extensibility Samples")demonstrate how progress bar can be included in cells. 

I have studied the source code and seen that this functionality in not a built-in one, but uses the DrawElement method to paint a rectangle in each cell. I have also remarked that for long bounded tables (ie with a lot of rows), rectangles take some time to draw (we can see each rectangle to be drawn).

I would like to know if this functionality is now included in the component or if it will be in the futur. If not, are there some possible code optimisations to do to increase draw performance? 

 

Thanks in advance.

Rico 

Parents
  • 469350
    Verified Answer
    Offline posted

    Hi Rico,

        That sample is pretty old and there is a new, better way.

        You can now use the UltraProgressBar control for this. Just put one on the form with the grid and assign the column's EditorControl property to the ProgressBar. You will probably want to set the MinValue and MaxValue on the grid column, as well, to give the progress bar the correct range of values.  

         

Reply Children