DataGrid: ScrollViewer is not always visualized when dynamically changing the ItemSource of the control
Occasionally the DataGrid horizontal scrolling does not work properly after changing its ItemsSource. Still, tapping on any item, make it possible to scroll again.
Posted on:21 Sep 2021 08:05
I am afraid the issue is not resolved yet due to other tasks with higher priority and demand.
This issue occurs in the case when the first column is wider than the DataGrid itself, so a possible workaround that comes to my mind is to use CellContentTemplate and wrap the text. Please keep in mind this feature is available from R2 2020 Official Release, so you should update your current version. You can find more information on the CellContentTemplate functionality here: DataGrid: Column Cell Templates.
Unfortunatly the bug still isn't fixed in v2020.1.318.1. Is this still planned?
Please advice on a workaround for this problem.
Kind Regards Pallieter Defever InMotion Software
Posted on:24 Jan 2019 13:05
Thank you for sending the repro project and for your comments on the bug report.
I have raised the priority of this issue, so hopefully we will manage to resolve it in some of the next minor releases.
I am sorry for any inconvenience caused.
Posted on:21 Jan 2019 08:09
Hello, sadly you didn't fix this in v2019.1.116.1 release. In my RadDataGrid I have set "SelectionMode" to "None", because I have a column with buttons, which opens a popup for further processing the underlying databinding. So in my case an item can't be tapped. But it's a problem in general that an item has to be tapped again, to make the scrollviewer work again. Users do not unterstand that they have to tap an item first or when they try to horizontal scroll on white space (no item selected) and assume the application is stuck.
Please note: The text displayed in row has to be wider than the RadDataGrid itself to enable horizontal scrolling and let the error occur.
See attached Visual Studio 2017 solution in zip file. To test press Button 1 and Button 2 alternately and try horizontal scrolling after that.
Can you release an intermediate version which fixes this?