WPF FlexGrid Column Moving Performance

Posted by: frugamas on 10 March 2022, 6:31 am EST

  • Posted 10 March 2022, 6:31 am EST

    I'm working with the .Net6 version of the WPF FlexGrid. We're finding that the moving of columns is not as fast as our legacy application. In fact, the difference is huge.

    I've attached a couple of animated gifs of an extreme case, where the grid is displaying 2352 columns. It's extreme, but it's real data and they illustrate the performance difference.

    You'll notice that the horizontal scrolling of FlexGrid performs well, but the moving of the columns is extremely bad. For the sample, it would have taken more than five minutes to move the column for the FlexGrid, while it took seconds for the legacy application. I did not have the patience to find out the exact time.

    I have a couple of questions:
    1. Can the animations of the FlexGird be disabled? I suspect they might be part of the slow down.
    2. Do you have any pointers on speeding up the moving of columns?
    3. Can your team look to improve this in later release?

    Thanks,

    Felix


    col-move-flexgrid-vs-native-mfc.zip

    col-move-flexgrid-vs-native-mfc.ziphorz-scroll-flexgrid-vs-native-mfc.zip
  • Replied 10 March 2022, 11:57 pm EST

    Hi Felix,

    Thanks for the gif attachment.

    We are discussing this to the development team. We will let you know once we get update from them.
    [Internal Tracking Id - C1XAML-29144]

    Best Regards,
    Nitin
Need extra support?

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

Learn More

Forum Channels