PDA

View Full Version : Find Column when Row Clicked in CheckBoxSelectionModel



pholcomb
7 Apr 2008, 12:17 PM
Apologies if this has been handled before, I was unable to find this in a search of the forums. I have a simple grid that uses a CheckBoxSelectionModel. What I need is to be offer two different handlers for when a row is clicked. If a user clicks a checkbox, I want to select or deselect that row (put a check in the checkbox). However, if a user clicks on any other column in the row, i want to fire an action that takes the user to a new page with details about the object that was listed in that row.

How can I configure my grid to do this? Any ideas?

pholcomb
7 Apr 2008, 12:21 PM
Nevermind, it looks like the cellclick method on GridPanel should allow me to do this. Feel free to delete this thread.