Property.ValueChangedEvent and filter on a table


My use case is pretty simple. I have a popup with a table and two buttons “ok” and “cancel”. The “ok” button is read only at startup and we can click on it when an item in the table is selected.

For that I used the Property.ValueChangedEvent.

The problem is that I have a live filter on that table too. And if the filter discard the selected value, it is still selected (there’s no reason to deselect this so I am fine with that) but I don’t know which callback I could use to get notified that the selected row is not available anymore (in that case, I’d like the ok button to go back to read only so that we don’t select something that is hidden because it was filter out).

Any idea?


anyone? Maybe getting the information that the item is not visible anymore because it was filtered out ?