WinForms FlexGrid Issue - Visible but Blank (2022v2)

Posted by: andrea.davoli on 10 December 2024, 8:51 am EST

  • Posted 10 December 2024, 8:51 am EST

    Hello,

    I’m encountering an issue with FlexGrid in WinForms using ComponentOne 2022v2. The FlexGrid control is technically present and functional, as I can interact with it, and the values are correct and properly formatted. However, the grid appears entirely blank (white).

    The problem resolves only after closing and reopening the application.

    What could be causing this behavior, and how can I ensure the grid displays properly without needing to restart the application?

    Thank you for your assistance!

  • Posted 11 December 2024, 1:27 am EST

    Hello,

    This is strange, as FlexGrid cannot go blank if the data source is correctly set. We tested and did not observe the behavior with the mentioned version.

    The behavior could be specific to your project or might be occurring due to some C1 code you use. Could you please test your project with the latest (2024v2 688) version as well?

    Could you please provide more details on the behavior and update the attached sample or attach a stripped-down version of your project for further investigation? (see FlexGrid_Sample.zip)

    Regards,

    Uttkarsh.

  • Posted 11 December 2024, 4:31 am EST

    Hi Andrea,

    do you make calls to “BeginUpdate/EndUpdate”? If yes: maybe you forgot a call to “EndUpdate” and the grid redrawing is switched off now.

    Best regards

    Wolfgang

Need extra support?

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

Learn More

Forum Channels