Table.setSelection fails to set a selection, if the selection was previously removed using SelectionModel.deselect.
The cause is that grid.Table.selection not kept in sync with the actual selection from the selectionmodel, so Table.setSelection believes there already is a selection. This can cause serious problems when using selection binding with a view model.

See the following fiddle (test code at the bottom):