Success! Looks like we've fixed this one. According to our records the fix was applied for a bug in our system in a recent build.
  1. #1
    Sencha User
    Join Date
    Jan 2012
    Posts
    72
    Vote Rating
    2
    mehran is on a distinguished road

      0  

    Default -1 cellindex after columns are reordered in a grid with enableTextSelection: true

    -1 cellindex after columns are reordered in a grid with enableTextSelection: true


    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:
    • html

    Description:
    • 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`

  2. #2
    Sencha - Support Team
    Join Date
    Feb 2013
    Location
    California
    Posts
    5,446
    Vote Rating
    112
    Gary Schlosberg is just really nice Gary Schlosberg is just really nice Gary Schlosberg is just really nice Gary Schlosberg is just really nice Gary Schlosberg is just really nice

      0  

    Default


    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.
    Are you a Sencha products veteran who has wondered what it might be like to work at Sencha? If so, please reach out to our human resources manager: fabienne.bell@sencha.com

  3. #3
    Sencha User
    Join Date
    Jan 2012
    Posts
    72
    Vote Rating
    2
    mehran is on a distinguished road

      0  

    Default


    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.

  4. #4
    Sencha User
    Join Date
    Jan 2012
    Posts
    72
    Vote Rating
    2
    mehran is on a distinguished road

      0  

    Default


    Could you please tell me in which version this problem is resolved?

  5. #5
    Sencha - Support Team
    Join Date
    Feb 2013
    Location
    California
    Posts
    5,446
    Vote Rating
    112
    Gary Schlosberg is just really nice Gary Schlosberg is just really nice Gary Schlosberg is just really nice Gary Schlosberg is just really nice Gary Schlosberg is just really nice

      0  

    Default


    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.
    Are you a Sencha products veteran who has wondered what it might be like to work at Sencha? If so, please reach out to our human resources manager: fabienne.bell@sencha.com

  6. #6
    Sencha User
    Join Date
    Jan 2012
    Posts
    72
    Vote Rating
    2
    mehran is on a distinguished road

      0  

    Default


    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!

  7. #7
    Sencha - Support Team
    Join Date
    Feb 2013
    Location
    California
    Posts
    5,446
    Vote Rating
    112
    Gary Schlosberg is just really nice Gary Schlosberg is just really nice Gary Schlosberg is just really nice Gary Schlosberg is just really nice Gary Schlosberg is just really nice

      0  

    Default


    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.
    Are you a Sencha products veteran who has wondered what it might be like to work at Sencha? If so, please reach out to our human resources manager: fabienne.bell@sencha.com