Hello,
I have a XamDataGrid with many records. I have set it to scroll per item.
But when I start scrolling (while in fullscreen) the scrollbar thumb changes its size all the time (becoming bigger and after some time it is shrinking and repeating).
I am expecting that the scrollbar thumb has a constant size especially as I have scroll by item configured.
Additionally the scrolling seems not to be smooth. Is there a way to fix/improve it?
WpfApp1_scrollbar.zip
Best regards,
Karol
Hello Karol,
Thank you for reaching out today. This was explained previously here:
https://es.infragistics.com/community/forums/f/ultimate-ui-for-wpf/78993/xamdatagrid-vertical-scrolling-problem
The issue can also be reproduced with a simple Microsoft Listbox. I found this article that I believe is related:https://stackoverflow.com/questions/976586/listbox-scrollbar-thumb-changes-size-when-content-is-variable-height
This behavior isn't something I am familiar with however I discussed this with another team member and concluded it's more or less expected, our grid doesn't account for variable row heights where the scrollbar will stay a consistent size.
This is a bit disappointing and also rises the assumption that there is no real scroll by item.
This might also be the reason for the performance issues when having bigger tables (~15 cols and 1000 rows)?
PS: WinUltraGrid does not have this issue.