This is a migrated thread and some comments may be shown as answers.

Kendo UI Grid Angular - scroll to random row

1 Answer 15 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Saswat
Top achievements
Rank 1
Saswat asked on 26 Mar 2021, 04:22 AM

Hi,
I am having a large grid and I have a random row(changed based on my require data) of the grid which is not a selected row.
But if the row is out of the viewport of the current view I would like to have the grid scroll down/up to the row, so the user can see the selected row automatically.
How do I accomplish in the angular grid?
Thanks for your help in advance.
Best regards

Saswat

1 Answer, 1 is accepted

Sort by
0
Yanmario
Telerik team
answered on 29 Mar 2021, 11:38 AM

Hi Saswat,

To achieve such functionality, the Grid scrollTo method can be used and programmatically send the user to the desired row or column.

Here is an example demonstrating the scrollTo method in action:

https://stackblitz.com/edit/angular-h5ibum

Hope this helps.

Regards,
Yanmario Menev
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
General Discussions
Asked by
Saswat
Top achievements
Rank 1
Answers by
Yanmario
Telerik team
Share this question
or