Scrollable DataGrid Responsiveness

1 Answer 36 Views
DataGrid General Discussions
Steven
Top achievements
Rank 1
Steven asked on 03 Sep 2024, 07:07 PM

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

Sort by
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.

Regards,
Martin Ivanov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Steven
Top achievements
Rank 1
commented on 04 Sep 2024, 12:40 PM

thank you!
Tags
DataGrid General Discussions
Asked by
Steven
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Share this question
or