PDA

View Full Version : Grid Row Editor handles incorrectly oncolumnshow event



acisser
4 Jan 2014, 3:03 PM
REQUIRED INFORMATION

Ext version tested:

4.2.1.883
Operating System:

Windows XP, Service Pack 3.
Browser versions tested against:

Chrome 29.0.1547, IE 8
Description:

There is a problem with the Row Editing Plugin for Grid Panel that handles incorrectly "oncolumnshow" event breaking the code and causing undesired layouts and behavior after this.
Steps to reproduce the problem:
Create a Grid with 4 columns
Make the 2nd column of the Grid hidden by default.
Create a Text Editor for 3rd and 4th columns.
Create a Store with static data containing one record.
Create 4 fields in the Store.
Bind the store fields to the columns in the Grid Panel.
Enable Row Editing Plugin for Grid.
Run the application and double click the record in the grid so that row editor appears.
Cancel the edition and using the context menu over any of the column headers in the grid, make 2nd column visible.
Double click again the record in the grid to make row editor appear.
47427
Figure 1. Row editor appear with column header and content synchronized.

47428
Figure 2. Row editor appears with column header and content offset, showing c in column E and d in column C.

Extra Information:


Event 'onColumnShow' from Ext.grid.RowEditor, ext-all-debug.js breaks at line 106921

column.getEditor().show();

Expected Behavior:

Row editor should appear matching column headers and contents.
Test Case:


?https://fiddle.sencha.com/#fiddle/2go

Gary Schlosberg
8 Jan 2014, 6:59 PM
I see the issue using 4.2.1 but it looks like it was fixed, as it works as expected using the latest nightly.

acisser
12 Apr 2014, 6:00 PM
I tested again using ext-4.2.3.1386. Problem seems to be solved. However, similar problem is still present in Ext JS 5.0.0.736 with no javascript errors but same visual problem.

Both releases are in beta now. I hope GA Release will solve the problem for both 5.0.0 and 4.2.3.