Hello
We are using Vaadin 6.7.
We have found a bug with multi select ability in Table.
The case:
- Load data in table
- Select some line (e.g. line 5)
- Page down 1-2 pages.
- Add record to dataset - ItemSetChange event occured. (or some other change)
- Press a Shift key and click on line - multi select the lines.
- Scroll the table to start - there will be selected all lines from first line.
We have investigated the problem, and found, than ItemSetChange event forces
itemIdMapper.removeAll()
call. So, itemIdMapper will not contain the first selected item key. But Table.handleSelectedItem method uses the map to get first selected item:
Object startItemId = itemIdMapper.get(split[0]
);
Because item not found all items from start of table will be selected.
Is there any workaround for the problem?