Reputation: 1774
I'm want to put a component e.g. a button as a table column header in vaadin.
Is there anyway to do this?
I had thought I could do:
Button button = new Button();
matrixTable.setVisibleColumns(new Object[] { button });
However the column header is just the package name of the button & not the button itself.
N.b. I am aware of Table Header Clicklisteners this is not what I am after.
Thanks for any help!
Upvotes: 1
Views: 1920
Reputation: 4644
Its not possible at the moment in Vaadin. It is already reported in Vaadin trac and awaits implementation. However you can use various techniques to get desired effect including:
Upvotes: 3