Creating multirow table headers

后端 未结 4 1485
误落风尘
误落风尘 2021-01-05 13:42

I have a table where my column headers are set with the following instruction :

table.setColumnHeader

I wonder how can I create multilevel

4条回答
  •  一整个雨季
    2021-01-05 14:27

    As of Vaadin 6.7.3, this is currently not possible using the stock Vaadin table component.

    There is a Trac issue raised for changing this for Vaadin 7. See https://vaadin.com/forum/-/message_boards/view_message/900369 for more details.

    Depending on your requirements, you could hide the table component's header and try to simulate the header (by using a HorizontalLayout, generating your own headers and listening to column resize events); alternatively, you could simply generate your own HTML

    and assign it to a label component.

提交回复
热议问题