Progress Bar in Flexgrid Winforms

Posted by: maximusdebois on 5 July 2021, 7:44 pm EST

    • Post Options:
    • Link

    Posted 5 July 2021, 7:44 pm EST

    I am new here using flexgrid for winforms. I have a grid and I want to create a progress bar for one of my columns. I have been searching but cannot find any resource on that. I want something like the image below.

  • Posted 6 July 2021, 2:06 am EST

    Hi,

    You can achieve this in two ways. Either by Owner drawing the cell or by hosting control in the cell.

    • You can handle the OwnerDrawCell event of the flexgrid and then draw the cell manually to look like a progress bar. Please refer to the sample [FGProgressOwnerDraw.zip] and modify it according to your requirements.

    • You can host progress bar controls on the grid. Please refer to the sample[FGProgressBar.zip] attached that was created by referring to the “HostControl” product sample located at C:\Users\username\Documents\ComponentOne Samples\WinForms\v4.5.2\FlexGrid\CS\HostControls.

    Regards

    Avnish

    FGProgressOwnerDraw.zip

    FGProgressBar.zip

  • Posted 6 July 2021, 2:14 am EST

    Thank you

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels