Results 1 to 5 of 5

Thread: [4.1b2] grid.RowEditing plugin: error tooltip's arrow is misplaced on 1st show

    Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-5323 in a recent build.
  1. #1
    Sencha User mystix's Avatar
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    6,236

    Default [4.1b2] grid.RowEditing plugin: error tooltip's arrow is misplaced on 1st show

    The error tooltip for the rowediting plugin is misplaced when displayed for the very first time for a grid which fills the width of the viewport (it doesn't show up in the rowediting example because there's ample space for the tooltip to be displayed by the side of the grid):

    Screen Shot 2012-02-08 at 6.28.25 PM.png

    The problem resolves itself when the tooltip is next displayed.


    Test case (I'm merely setting autoCancel:false on a standard grid + rowediting plugin):
    Code:
    Ext.create('Ext.container.Viewport', {
        layout: 'fit',
        items: {
            xtype: 'gridpanel',
            title: 'Simpsons',
            store: {
                fields: ['name'],
                data: [
                    {name: "Lisa"},
                    {name: "Bart"},
                    {name: "Homer"},
                    {name: "Marge"}
                ]
            },
    
            columns: [
                {header: 'Name',  dataIndex: 'name', editor: { xtype : 'textfield', allowBlank : false }, flex: 1}
            ],
    
            plugins: [{
                ptype: 'rowediting',
                autoCancel: false
            }]
        }
    });
    Tested on Chrome 17, Firefox 10 and Safari 5.1.3.

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,449

    Default

    The row editing example (examples/grid/row-editing.html) has autoCancel set to false and on my Chrome 17 it is aligned. Also tested in FF9 and all good also.

    Screen Shot 2012-02-08 at 2.41.10 PM.jpg
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Fullstack Engineer
    ________________
    Modus Create is based on the model of an open source team. We’re a remote, global team of experts in our field. To find out more about the work we do, head over to our website.

    Check out my GitHub:
    https://github.com/mitchellsimoens

  3. #3
    Sencha User mystix's Avatar
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    6,236

    Default

    Hi Mitch,

    Please use the test case I provided.

    As mentioned in my first post, the problem arises for a grid which fills the width of the viewport.

    It doesn't manifest in the rowediting example because there's ample space for the tooltip to be displayed by the side of the grid, which doesn't fill the width of the viewport.

    [ edit ]
    apologies if you were misled by the text "I'm merely setting autoCancel:false on a standard grid + rowediting plugin"
    Last edited by mystix; 8 Feb 2012 at 5:19 PM. Reason: edit

  4. #4
    Sencha User mystix's Avatar
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    6,236

    Default

    [ tiny bump ]
    to get this back on the radar.

  5. #5
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,449

    Default

    Quote Originally Posted by mystix View Post
    [ tiny bump ]
    to get this back on the radar.
    No worries.. I hadn't forgotten about you, just been swamped
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Fullstack Engineer
    ________________
    Modus Create is based on the model of an open source team. We’re a remote, global team of experts in our field. To find out more about the work we do, head over to our website.

    Check out my GitHub:
    https://github.com/mitchellsimoens

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •