Creating multirow table headers

后端 未结 4 1484
误落风尘
误落风尘 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:24

    To make a header only of a table use setPageLength(0); this will eliminate the table body and show only the header. Then create another table with a header and your data and combine these 2 in a layout :) It's a cool trick, be sure to match the ratio's of first header with the second's table header.

提交回复
热议问题