You found a bug! We've classified it as EXTJSIV-5607 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha - Community Support Team SamuraiJack1's Avatar
    Join Date
    May 2008
    Posts
    520
    Vote Rating
    0
    SamuraiJack1 will become famous soon enough

      0  

    Default [4.1.0-B3] `getEditorParent` is ignored - nested cell editing is not possible

    [4.1.0-B3] `getEditorParent` is ignored - nested cell editing is not possible


    REQUIRED INFORMATION Ext version tested:
    • Ext 4.1.0-beta3 rev ____
    Browser versions tested against:
    • Chrome
    • FF
    Description:
    • In 4.1.0 the `getEditorParent` method of the grid is ignored and not used for setting the `parentEl` property of the editor. You can search for `getEditorParent` in 4.0.7 codebase and 4.1.0-b3 codebase to see the point.
    • This makes certain advanced use cases not possible, like performing nested cell editing.
    • Under nested cell editing I assume the following scenario: Grid1 has an Ext.form.field.Picker editor for some column. Picker in turn, opens another grid and user can edit the cells of the second grid.
    • This used to work fine in 4.0.7
    • Problem is that editors are now always rendered in the `document.body`, and because of that picker will be closed on any click on the secondary editor.
    Steps to reproduce the problem:
    • Download the attachment, remove the *.txt extension and put it in the /ext-4.1.0-beta-3/examples/grid/ folder
    • Open the /ext-4.1.0-beta-3/examples/grid/cell-editing.html example
    • Click on any cell in the "Price" column and expand the editor picker
    • Click on the "1" cell in the opened grid to edit this value
    • Click the spin button
    The result that was expected:
    • The primary picker editor is expected to stay opened
    The result that occurs instead:
    • Picker closes
    Attached Files

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    33,624
    Vote Rating
    435
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    Thanks for the report.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    http://www.JSONPLint.com - Source to lint your JSONP!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!

    When posting code, please use BBCode's CODE tags.