Results 1 to 4 of 4

Thread: Sorted grid with buffered rendering enabled breaks row editor

    You found a bug! We've classified it as EXTJS-15391 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha Premium Member
    Join Date
    Aug 2008
    Posts
    23

    Default Sorted grid with buffered rendering enabled breaks row editor

    When you use a row editor to edit the sorted column in a grid with buffered rendering and sorting enabled the cancelEdit event ends up getting fired in addition to the edit event. This is because the buffered renderer's doRefreshView call ends up causing the row editor to fire cancelEdit after the edit has already taken place. It also deselects the current record. The two work-arounds are to disable sorting or to disable buffered rendering on the sorted grid.

    Is there something I'm doing wrong or is this a bug?

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985

    Default

    Thanks for the report. Seems like a bug to me. Can you please post a test case which recreates the behavior?
    https://fiddle.sencha.com/#home

  3. #3
    Sencha Premium Member
    Join Date
    Aug 2008
    Posts
    23

    Default

    http://fiddle.sencha.com/#fiddle/bai

    To see the bug edit the first row's first column to "zzz" or anything that will cause it to move down in the grid. You will see the alert for cancelEdit firing before the alert for edit.

  4. #4
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985

    Default

    Thanks for the test case. I have opened a bug in our bug tracker.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •