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

Popup grid editing and Cancel scrolling

3 Answers 154 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jeffrey
Top achievements
Rank 1
Jeffrey asked on 08 Dec 2016, 11:09 PM

So I'm seeing some weird behavior.  

When ever the grid is navigatable and you are using the popup grid editing and user hits cancel, the grid scrolls to the bottom of the list.  You can best see the bug when you choose to edit the first record.  Additionally, after clicking cancel, then going to edit the first row again, the scrolling issue doesn't happen.

I've created a dojo to help display the issue: http://dojo.telerik.com/@jhinnen@momentum3.biz/aBUkA

Thanks,

Jeff

3 Answers, 1 is accepted

Sort by
0
Kostadin
Telerik team
answered on 12 Dec 2016, 02:27 PM
Hi Jeff,

I was able to replicate the issue and the cause for this issue is that the grid cells are updated dynamically before clicking the update or cancel button and this way the focus is lost. A possible solution is to manually focus the cell on close event of the grid.

Kostadin
Telerik by Progress
Telerik UI for ASP.NET MVC is ready for Visual Studio 2017 RC! Learn more.
0
Jeffrey
Top achievements
Rank 1
answered on 15 Dec 2016, 09:38 PM

By setting navigatable to false I was able to fix the issue.  I was wondering if this would be logged as a bug.

 

Thanks,

Jeff

0
Konstantin Dikov
Telerik team
answered on 19 Dec 2016, 11:28 AM
Hello Jeffrey,

Although this might be considered as limitation, due to the way that the navigatable is implemented and the fact that the active row/cell is lost while you are editing in the popup, you could log this as a bug here:

Best Regards,
Konstantin Dikov
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
Jeffrey
Top achievements
Rank 1
Answers by
Kostadin
Telerik team
Jeffrey
Top achievements
Rank 1
Konstantin Dikov
Telerik team
Share this question
or