Total count in Vaadin Table


Is it possible to show the total number of rows in vaadin table ?

As in combobox.

Quick ref :


If you just want the total number of entries available, you can ask the underlying container (don’t know if it works if you have some sort of lazy loading container but I don’t see any reason why not)

Table t = ...; t.getItemIds().size(); t.getContainerDataSource().getItemIds().size(); Keep in mind that using container filtering may/will mess up that number as the number returned may be the “visible” count (not to be confused with “number of rows currently shown”).

See also:

But I was looking for a way to show in UI same as combobox.(A tooltip at the bottom)