PDA

View Full Version : grid events



aangrick
2 Nov 2006, 3:31 PM
I'm using the SingleSelectionModel grid. Is there an event that fires when double clicking on a row? I can get a single click or change with
sm.addListener('selectionchange', onSelection);
but i'm needing a double click. What i'm trying to do is when a row is double-clicked, it displays more information on the row.

Thanks!

aangrick
2 Nov 2006, 5:26 PM
nevermind.. i answered my own question!
I was using the wrong object.
grid.addListener('rowdblclick', View);
worked.
(Grid object instead of the SingleSelectionModel object)