Hi everyone,
I wonder whats the right setup for a list that can only have one line selected at a time.
I use a DataGrid with SingleSelection Model and setKeyboardSelectionPolicy.BOUND_TO_SELECTION.
But the behaviour isnt as excepted. For example:
I select a Header to change sorting. This causesthe keyboard selection change to line 0. This causes a selectionChangeEvent.
This can also be looked up in the showcase grid:
http://gwt.googleusercontent.com/samples/Showcase/Showcase.html#!CwDataGrid.
I started to setKeyboardSelectionPolicy.DISABLED while handling onRangeChanged - Events and setKeyboardSelectionPolicy.ENABLED after Im done with it.
This works, but I wonder if this is the right way. How you guys implement a single-selection grid.
Regards,
Manuel