View Full Version : [OPEN] Sorted grid with buffered rendering enabled breaks row editor

2 Oct 2014, 11:02 AM
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?

Gary Schlosberg
2 Oct 2014, 3:59 PM
Thanks for the report. Seems like a bug to me. Can you please post a test case which recreates the behavior?

3 Oct 2014, 11:30 AM

(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.

Gary Schlosberg
8 Oct 2014, 11:01 AM
Thanks for the test case. I have opened a bug in our bug tracker.