Is it possible to introduce scrollability to the RadDataGrid?
Are WinUI3 Components meant to be responsive to the window dimensions?
1 Answer, 1 is accepted
1
Accepted
Martin Ivanov
Telerik team
answered on 04 Sep 2024, 11:06 AM
Hello Steven,
There is built-in scrolling in the RadDataGrid component. This is enabled automatically, but in order to see the scrollbar, you should place the RadDataGrid in a panel that measures its children with the available size (for example a Grid panel). If you add the RadDataGrid in a panel that measures with infinity, you won't see the scrollbar. Such panels are StackPanel, StackLayout and Grid's RowDefinition with its Height set to Auto.
About the responsiveness question, the RadDataGrid will stretch in the space given by its panel. Basically, the responsiveness in WinUI will depend on the parent panel's measure and arrange behavior.