TelerikGrid with virtual scrolling doesn't fill remaining space of parent

1 Answer 80 Views
Grid
Kai
Top achievements
Rank 1
Kai asked on 24 Mar 2023, 08:34 AM

Hello,

we use the TelerikGrid with virtual scrolling. Now we want, that the grid fills the remaining space regardless the number of rows. The parent div already has the size of the window but the grid doesn't fill it up. I set the height of the grid to 100% but this didn't work. 

Does anybody have an idea what we have to do?

Best regards
Kai

1 Answer, 1 is accepted

Sort by
0
Svetoslav Dimitrov
Telerik team
answered on 29 Mar 2023, 07:35 AM

Hello Kai,

When you take advantage of the Virtual scrolling feature in the Grid you must set the Height of the Grid and the RowHeight parameter in pixels. If the Grid is virtually scrollable, setting dynamic height is not possible. 

Regards,
Svetoslav Dimitrov
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.

Tags
Grid
Asked by
Kai
Top achievements
Rank 1
Answers by
Svetoslav Dimitrov
Telerik team
Share this question
or