PDA

View Full Version : Determine grid column using double click listener



jimkrahn
14 Oct 2010, 9:35 AM
How do I determine the grid column where a user has double-clicked using the dblclick event listener?

troseberry
14 Oct 2010, 10:00 AM
I would attach a listener to the grid's "celldblclick" or "rowdblclick" event and then in you will be able to get the column Index as one of the passed arguments

Check the API doc's on the GridPanel's event's

or if you want to use the 'dblclick' event of the column then again look at the API doc's and you will see that the arguments passed to the event in which the first one is a reference to the column that was double clicked