RadDataGrid scrollbars do not appear on some pages, on others they do
Hi Support
I'm using RadDataGrid on several pages in my application. There a pages where the scrollbar does not appear. On some pages it works.
The structure of the pages is similar. What are your suggestions to look for.
Regards,
Hans
1 comment
ADMIN
Martin Ivanov
Posted on:09 Jun 2023 14:21
Hello Hans,
If you don't see the scrollbars that probably means the RadDataGrid is measured with double.Infinity size. This means that the panel that hosts it gives it as much space as it needs to render all rows. Such panels are StackPanel or Grid with a column/row definition with its Width/Height set to Auto. In order to for scrollbars to appear, the data grid control should be hosted in a panel that measures its children with the available size (for example, the window size, or the size of the parent element).
If that doesn't help, can you please send over a sample project showing your setup, so I can check it out on my side?