Hello,
I have a normal table (see first attachment image)
And I would like to be able to have the table like in the second attachment image.
What is the best way to do it ?
Thanks for all.
Hello,
I have a normal table (see first attachment image)
And I would like to be able to have the table like in the second attachment image.
What is the best way to do it ?
Thanks for all.
I would say, it is not possible. What would be possible: Use one single column and add a component in it, displaying the wanted result. The downside of this approach is, that you loose the ability to sort the table.
For this case, sorting is not a problem.
So you think that I have to develop a custom row component ? is it possible ?
Instead, would it be possible to to something near my needs with a custom TreeTable ?
Don’t know what is possible with the TreeTable as I didn’t try it out yet, but a custom “row-component” is pretty easy. See
Book of Vaadin: Table
, especially section 5.14.2 “Components inside a Table” as a starting-point.