Nice job Tatu! Really nice component :)
I wanted to use it but the restriction is that there can only be a simple String in the header of the column. In my case, I always have one column with a component in the rows (eg. a flexbox with a few fields- than I can control the behaviour of the flexbox / columns). So in the header I also need to put a component (the same flexbox as in the rows) that describes the names of the fields that are in the rows.
So, like someone below, I would also need to include ComponentProvider for the header :)
I just uploaded version 2.1.0 in directory which accepts Component as parameter in Column#setHeader
Thanks Tatu!
Since Column is not static one have to use this structure:
BeanTable<Person>.Column<Person> column = table.addComponentColumn(null, componentProvider);