Declined
Last Updated: 11 Jul 2022 14:49 by ADMIN
Chett
Created on: 07 Jul 2022 14:28
Category: Grid
Type: Bug Report
0
KendoGrid Scrolls back to top while performing an inline deletion, if navagatable is set to true.

we discovered that if you have navagatable set to true and you perform a deletion using the inline delete button, the grid scrolls back to the top. setting navagatable to false prevents the scrolling from occuring.

 

this was using KendoGrid with JQuery.

1 comment
ADMIN
Georgi
Posted on: 11 Jul 2022 14:49

Hello, Chett,

Many thanks for your remark! 

I managed to reproduce your observation in our environment and after a short investigation with my team, we concluded that this is the normal behavior of the grid's scrolling.

The reason behind that is the fact that when you click on a cell from the grid, this cell is set as navigatable. However, when you delete it, and the grid is rendered again, a new navigatable element must be set as the previous one has been deleted. This is the reasoning for the scrolling to the top. 

In order to achieve the desired behavior of the grid's scrolling you can implement the remove event and the dataBound event.

Below, I am attaching a Dojo link with this workaround: 

Untitled | Kendo UI Dojo (telerik.com)

Let me know if this worked for you and if you have any additional questions.

Regards, Georgi Slavov Progress Telerik

The Premier Dev Conference is back! 

Coming to you live from Progress360 in-person or on your own time, DevReach for all. Register Today.