CellTable中的Colspan和Rowspan

CellTable中的Colspan和Rowspan

本文介绍了CellTable中的Colspan和Rowspan的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在实现一个具有colspan和rowpan单元格的表.我之前使用过FlexTable,但决定使用CellTable.但是看来CellTable不支持FlexTable却支持添加样式...请看图片以了解我要做什么:

I'm implementing a table which has both colspan and rowspan cells. I used FlexTable before but decided to use CellTable. But it looks like CellTable does not support adding style while FlexTable did... Please look at the picture to know what I'm trying to do:

欢迎提出任何建议.

推荐答案

您可以使用 AbstractCellTableBuilder 来呈现您自己的结构.
查看自定义DataGrid展示柜.

You can use an AbstractCellTableBuilder to render your own strucuture.
Have a look at the Custom DataGrid showcase.

这篇关于CellTable中的Colspan和Rowspan的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-22 23:14