Showing selected row when resizing the .k-grid-content

1 Answer 98 Views
Grid
John
Top achievements
Rank 1
John asked on 21 Jun 2021, 06:41 PM
<p>When I first show results I have the grid height set to screen height. The grid is scrollable. What I want to happen is that when I reduce the height from say 750px to 200px is for that row to show in the top of the new small view port. When selecting a row all the information displays below the grid regarding that row. Further info, say I pick row 18 and when I make the k-grid-content class's height shorter can I then make row 18 show at the top of that.</p><p>Thanks, John <br /></p>

1 Answer, 1 is accepted

Sort by
0
Aleksandar
Telerik team
answered on 24 Jun 2021, 07:38 AM

Hi John,

We have a knowledgebase article that demonstrates how you can scroll to the selected row:

https://docs.telerik.com/kendo-ui/knowledge-base/grid-scroll-selected-row

You can try the approach demonstrated and use it to scroll to the selected element once the viewport is resized.

I hope this helps.

Regards,
Aleksandar
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Grid
Asked by
John
Top achievements
Rank 1
Answers by
Aleksandar
Telerik team
Share this question
or