Vaadin 8 Grid and ListDataProvider Filtering - Filtering not refreshed on a

Hi Vaadin community

To get things short:

If I have a bean with a “visible” property and set up a filter for this property like this:

SerializablePredicate<Bean> mybean = mybean -> mybean.isVisible() ? true : false;

So if this property is set to true the item is visible in the Grid.
Now if i set it to false and do refreshItem(mybean) the item is not removed from the list.
If i do a refreshAll() then it is removed.

As we have frequently updates, it should be possible to just refresh filter for single items at once.

Is this behaviour intented, or is there any way to have it behave like we need?

Thnaky you very much for your help

Daniel

Is this behaviour intented

Yes it is, because in generic case Grid can be e.g. sorted, when removal or addition of items requires actions.