View Full Version : Grid column resize and double click listener

10 Nov 2006, 10:12 AM
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?

10 Nov 2006, 10:24 AM
Are you subscribed to dblclick or rowdblclick?

10 Nov 2006, 10:50 AM
Good catch! I was a fool for ever doubting you :wink:


10 Nov 2006, 7:47 PM
Haha. There's so many events on the grid it's easy to get mixed up!