View Full Version : Problem with GridPanel ContainerClick event

5 Jul 2010, 7:44 PM
I'm trying to utilize the ContainerClick event of the GridPanel to know when the end user clicked on any whitespace (not on a row), so that I can clear the current selections (like Windows Explorer does). However, I noticed that this event also fires when clicking on the empty column header that appears to the right of defined columns. I don't like this as I don't want to clear the selected rows if the user clicks that space, just ignore it. I really think this should be handled by the headerclick event instead, as it IS the header. Maybe the columnIndex would be -1 to indicate the user clicks in the non defined column header area.