Reputation: 232
I have several ComboBoxes in Vaadin that all access the same DataSource.
I want the following behaviour:
I tried to add a filter to the underlying datasource to only pass items that have not been selected yet. However this solution does not work since the selected item disappears as soon as it is selected (since it is filtered out from the datasource)
How can I achieve my desired behaviour?
Upvotes: 1
Views: 104
Reputation: 56
Create separate data sources for each ComboBox and filter out the selected items only for the next ComboBoxes.
Upvotes: 1