How to create a Complex Table in Vaadin 7 (Complex header is not required)

女生的网名这么多〃 提交于 2020-01-05 05:27:08

问题


I am trying to create a table similar to the below figure in Vaadin 7.

Figure: http://i.stack.imgur.com/dvkO1.png

I was thinking of these 3 possibilities. Still I don't have a clarity on what I should go ahead with implementation.

1) Using Column Generator. I referred https://vaadin.com/book/vaadin7/-/page/components.table.html

2) Having a table inside a table item. But I am finding difficulty in creating that also. I am unhappy about the look and feel.

3) Searching for if there is anyway we can merge the cells to form a block.

Any help in this regard, is appreciated.


回答1:


When I have problems with the way the Table component works, it is probably best to no use it at all. You can use a GridLayout instead to show data in the format you need, IMHO.




回答2:


At them moment this is not possible.

Perhaps this will be included in the upcomming 7.4 release. Currently it's in alpha stage, but I think it will be released in 1-2 months.

How to create a complex header in vaadin 7?



来源:https://stackoverflow.com/questions/27331208/how-to-create-a-complex-table-in-vaadin-7-complex-header-is-not-required

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!