Method addrow does not fire event edit when scroll virtuell with version(2017.3.913) and later.

4 posts, 0 answers
  1. Magnus
    Magnus avatar
    2 posts
    Member since:
    Apr 2016

    Posted 23 Oct 2017 Link to this post

    Is this a bug? For the events fired has been changed with latest versions
  2. Stefan
    Admin
    Stefan avatar
    2475 posts

    Posted 25 Oct 2017 Link to this post

    Hello, Magnus,

    I made an example with an editable Grid, virtual scrolling, the edit event, the addRow method and it is working as expected:

    http://dojo.telerik.com/aFaMuh

    Could you please provide an example demonstrating the issue, so we can observe it, and log it for fixing if necessary. The issue may only occur in a specific configuration.

    Regards,
    Stefan
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  3. Magnus
    Magnus avatar
    2 posts
    Member since:
    Apr 2016

    Posted 01 Nov 2017 Link to this post

    Hello,

    Maybe I'am using it a little diffrent.

    I have done small exemple how I have been using it.
    I add a empty row last in the grid and when the user click the row.
    addrow metod is called and jump back to next last row is made.

    http://dojo.telerik.com/aFaMuh/3
    using 2017.2.621 and works as I want.
    the console displays events change, edit, change, edit when last row is clicked

    http://dojo.telerik.com/aFaMuh/4
    using 2017.3.1018 and does not work as I want
    the console displays events change, change, edit when last row is clicked
    but if scroll is true and not virtuell the console displays events change, edit, change, edit when last row is clicked and works as I want it to do.

    Thanks for your help

     

     

  4. Stefan
    Admin
    Stefan avatar
    2475 posts

    Posted 03 Nov 2017 Link to this post

    Hello, Magnus,

    The described result is expected as the virtual scrolling is expecting the number of the page to the at least three times the visible items.

    It was working as expected(only at first side) with version 2017.2.621 as the editing was not supported with virtual scrolling and there were many changes after the editing was introduced in order to ensure that the editing will work as expected:

    https://docs.telerik.com/kendo-ui/controls/data-management/grid/appearance#virtual-scrolling

    We can recommend using endless scrolling in a scenario where the virtual scrolling hits a limitation.

    https://docs.telerik.com/kendo-ui/controls/data-management/grid/appearance#endless-scrolling

    Regards,
    Stefan
    Progress Telerik
    Try our brand new, jQuery-free Angular 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