C1FlexGrid column draw issue

Posted by: bhartmann on 24 September 2018, 6:35 pm EST

    • Post Options:
    • Link

    Posted 24 September 2018, 6:35 pm EST - Updated 4 October 2022, 2:10 am EST

    Hello,

    I found a minor issue with column 0 failing to draw in a very specific circumstance. I am reporting this because it took me a while to find the source of the problem.

    If you set C1FlexGrid1.Cols.Fixed = 0 after setting DataSource, and the grid is narrow enough that it requires a horizontal scroll bar, the first column fails to render until you trigger a redraw by adjusting size or scrolling.

    You can see the issue in the attached zip and pressing the ‘Fill Data’ button. The small form size is intentional and necessary to see the issue. Additionally, setting C1FlexGrid1.Cols.Fixed = 0 before setting DataSource works correctly.

    GridDrawTest.zip

  • Posted 25 September 2018, 12:58 am EST

    Hi,

    I could not observe the issue you described. The first column is rendered correctly without triggering redraw. See attached video to see my observation.

    Do you observe this issue consistently? Also, please mention the version of FlexGrid you’re using so I can check it with that version.

    Regards,

    Jitender

    GridDrawTest.mp4.zip

  • Posted 27 September 2018, 5:29 pm EST - Updated 4 October 2022, 2:10 am EST

    Yes, it happens every time for me.

    Here are my references from that project

  • Posted 28 September 2018, 3:22 am EST

    Hi,

    I was able to observe this issue with build 4.0.20182.314

    This has been fixed in the build 4.0.20182.318 (TFS:334569). You can see it in the ChangeLog located at “C:\Program Files (x86)\ComponentOne\ChangeLog.html”

    You can upgrade your controls to the latest build (4.0.20182.320) using C1Live.

    Regards,

    Jitender

Need extra support?

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

Learn More

Forum Channels