1. #1
    Ext User
    Join Date
    Mar 2007
    Posts
    19
    Vote Rating
    0
    dflkid is on a distinguished road

      0  

    Default Grid column resize and double click listener

    Grid column resize and double click listener


    I have a borderlayout with a grid panel (Beta 4) with a double click listener on the grid. The double-click listener spawns a new tab like your feed viewer example (which works great by the way). I just noticed that when I have a row selected in the grid, and I double-click a column separator to auto-size a column, that it spawns a new tab via the listener. This occurs even if I de-select the row. So I'm wondering if the listener I attached to the grid should only apply to the grid area and not the columns. Bug?

  2. #2
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    Tampa, FL
    Posts
    6,955
    Vote Rating
    17
    jack.slocum will become famous soon enough jack.slocum will become famous soon enough

      0  

    Default


    Are you subscribed to dblclick or rowdblclick?

  3. #3
    Ext User
    Join Date
    Mar 2007
    Posts
    19
    Vote Rating
    0
    dflkid is on a distinguished road

      0  

    Default


    Good catch! I was a fool for ever doubting you :wink:

    Thanks

  4. #4
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    Tampa, FL
    Posts
    6,955
    Vote Rating
    17
    jack.slocum will become famous soon enough jack.slocum will become famous soon enough

      0  

    Default


    Haha. There's so many events on the grid it's easy to get mixed up!

Similar Threads

  1. Grid Column Resize
    By INeedADip in forum Ext 1.x: Bugs
    Replies: 6
    Last Post: 12 Apr 2007, 7:01 AM
  2. Grid - Auto-resize column-width after load
    By KimH in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 2 Mar 2007, 4:49 AM
  3. Borderlayout resize listener?
    By kjordan in forum Ext 1.x: Help & Discussion
    Replies: 7
    Last Post: 22 Dec 2006, 1:23 PM
  4. Popping a BasicDialog when Grid double click
    By hady in forum Ext 1.x: Help & Discussion
    Replies: 7
    Last Post: 29 Nov 2006, 11:33 AM

Thread Participants: 1