View Full Version : deselect a selected row in a grid

6 Jan 2011, 1:05 AM
i want to deselect a selected row in a grid, wenn i click it again. how can i realize this behavior?

The Question is, which Event is fired, if i deselect a selected row in a grid,so that i can receive this event and i could deselect the row.


6 Jan 2011, 1:19 PM
I would create a custom GridSelectionModel for this. Take a look at the sources from the current one. Should be straight forward to do

19 Oct 2011, 5:21 AM
I'm using gxt 2.2.4. To do the trick i overloaded handleMouseDown() function in GridSelectionModel ; i copied/pasted all gxt code into my overloaded method and then added "select(sel, false);" where its needed.