I am using Vaadin8 Grid with Multi Selection. I want to implement an option to hide a row or unhide row in the Grid.
Has any one already implemented this feature? Appreciate if i get some pointers on how to implement it feature.
TIA
I am using Vaadin8 Grid with Multi Selection. I want to implement an option to hide a row or unhide row in the Grid.
Has any one already implemented this feature? Appreciate if i get some pointers on how to implement it feature.
TIA
The correct way to implement selective display Grid rows is to use Filtering in DataProvider For example the ListDataProvider, which is used by Grid has API's for filtering. So items passing the filters are shown, and those which are not passing the filters are not shown.
There is another question about Filtering with Grid here at StackOverflow: How to add grid filters in Vaadin 8? Which has code example of filtering. Usually Lambda expressions are used as filters. You can create custom filters. For example in your case you could have list of ids in the filter, and filter out rows that match those ids.