How to detect a click in a grid's empty / white space


I need to unselect an item if the user clicks on the empty space in a grid, like the GridContextMenu is working on both items and non-items.

Unfortunately, I do not see an appropriate listener, and the SelectionListener isn’t called automatically.

Am I missing something?

Thanks, Gregor