Popup grid editing and Cancel scrolling

4 posts, 0 answers
  1. Jeffrey
    Jeffrey avatar
    4 posts
    Member since:
    Jan 2015

    Posted 08 Dec 2016 Link to this post

    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

  2. Kostadin
    Admin
    Kostadin avatar
    1733 posts

    Posted 12 Dec 2016 Link to this post

    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.
  3. Jeffrey
    Jeffrey avatar
    4 posts
    Member since:
    Jan 2015

    Posted 15 Dec 2016 Link to this post

    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

  4. Konstantin Dikov
    Admin
    Konstantin Dikov avatar
    2466 posts

    Posted 19 Dec 2016 Link to this post

    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.
Back to Top