Results 1 to 4 of 4

Thread: Grid column resize and double click listener

  1. #1
    Ext User
    Join Date
    Mar 2007
    Posts
    19
    Vote Rating
    0
      0  

    Default 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
    New York, NY
    Posts
    6,956
    Vote Rating
    20
      0  

    Default

    Are you subscribed to dblclick or rowdblclick?

  3. #3
    Ext User
    Join Date
    Mar 2007
    Posts
    19
    Vote Rating
    0
      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
    New York, NY
    Posts
    6,956
    Vote Rating
    20
      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

Posting Permissions

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