View Full Version : [FIXED] -1 cellindex after columns are reordered in a grid with enableTextSelection: true

4 Dec 2013, 10:42 PM
Ext version tested:

Ext 4.2.1

Browser versions tested against:

Chromuim Version 30.0.1599.114 Ubuntu 12.04 (30.0.1599.114-0ubuntu0.12.04.3)
FF 25.0.1 (firebug 1.12.5 installed)

DOCTYPE tested against:



In a grid with `enableTextSelection: true`, after columns are reordered by the user, the cellIndex in celldblclick event prompts `-1` for some of the columns. BTW, this bug is specific to 4.2.1, in 4.2 it works fine.

Steps to reproduce the problem:

Run the following fiddle: https://fiddle.sencha.com/#fiddle/1uv
Drag the `phone` column and drop it as the first column.
Double click on one of the rows within the `name` column area.

The result that was expected:

The prompt should have said `1`

The result that occurs instead:

The prompt says `-1`

Gary Schlosberg
5 Dec 2013, 2:44 PM
As you said, the issue is already fixed in the latest version. I searched for the ticket that led to the fix (in hopes of providing info for an override), but couldn't locate one and suspect it was part of a bigger issue that was resolved.

6 Dec 2013, 12:01 AM
I didn't say that the issue is resolved in the latest version! If it is that's good news but I didn't know that! And I surely can't approve or disapprove it.

7 Dec 2013, 2:58 AM
Could you please tell me in which version this problem is resolved?

Gary Schlosberg
9 Dec 2013, 10:58 AM
BTW, this bug is specific to 4.2.1, in 4.2 it works fine.

Apologies, I read your post as 4.2.2. The issue is fixed in 4.2.2.

9 Dec 2013, 9:34 PM
Do you know if the GPLv3 version of 4.2.2 will be available for download any time soon? Right now it's only available to Sencha Support subscribers!

Gary Schlosberg
13 Dec 2013, 4:37 PM
4.2.2 is a support-only release, as will 4.2.3 be. The next GPL release is likely to be 5.0 early next year.