WPF .Net5/.Net6 FlexGrid Scrollbar Issue

Posted by: rdbrownii on 29 December 2021, 10:57 am EST

    • Post Options:
    • Link

    Posted 29 December 2021, 10:57 am EST

    I’m working with the new .Net5/6 WPF FlexGrid control as a replacement for C1DataGrid. I’ve found an issue/bug with the scrollbars built into the control. The scroll buttons (up/down/left/right) don’t do anything when you click them. The slider bar button works properly as does scrolling with page up/down and a scroll wheel. This behavior is present in the FlexGridExplorer source code sample and in the downloadable ComponentOneDemoExplorer_20213.1.2. The .Net Framework 4.5.2 version of the WPF C1FlexGrid works correctly.

  • Posted 30 December 2021, 8:31 am EST

    Hi,

    I could replicate the same issue at my end. Hence, escalated this to developer team. I will let you know if there is any update from them.

    Issue Id : C1 XAML-28580 (Internal use only)

    In the meantime, you can use the below work-around for achieving your requirement.

    1. Firstly we need to find the objects of Left, Right, Up, Down Repeat buttons respectively. For that we can use the VisualTreeHelper inside the Loaded event of FlexGrid .
    2. After that Need to handle the click events of repeat button manually to Scroll the grid.

    For more information, please check the attached sample application.

    Thanks,

    Sonu Singh

    ScrollingIssue.zip

  • Posted 30 December 2021, 10:31 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