Is there a way to get a list of all items in the IndexedContainer that curr

Is there a way to get a list of all items in the IndexedContainer that currently pass the filter tests? I need this so I can let the user filter the rows to what they want and then click a “Create Report” button that will create a report on the items currently that currently pass the filters. THANKS!

If I recall right, bare IndexedContainer does not have method for this, but with BeanItemContainer getItemIds() method returns the list of items after sorting and filtering:

https://vaadin.com/api/framework/7.7.17/com/vaadin/data/util/AbstractBeanContainer.html#getItemIds--

If you have the IndexedContainer set to the FilterTable, FT will set the filters directly to the container. This means that calling getItemIds() on the IndexedContainer should return the same item ids that are visible in the FilterTable as well.

THANK YOU! getItemIds() worked perfectly. (I didn’t think to use that because I assumed it would return the entire set, not the filtered set. And getVisibleItemIds() only returned the part of the list that was actually visible on screen…)