Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/gwt/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
GWT包装html表并添加CEL_Html_Gwt_Html Table - Fatal编程技术网

GWT包装html表并添加CEL

GWT包装html表并添加CEL,html,gwt,html-table,Html,Gwt,Html Table,我在我的web应用程序中使用gwt,我有一个html面板,其中包含一个。我选择这样做而不是flextable,因为当我将它设计为无法执行时,会出现一些恼人的问题 我想知道是否可以包装一个html表 <table> <thead> <tr> <th>Name</th> <th>Path</th> <th>Type</th> </t

我在我的web应用程序中使用gwt,我有一个html面板,其中包含一个
。我选择这样做而不是flextable,因为当我将它设计为无法执行时,会出现一些恼人的问题

我想知道是否可以包装一个html表

<table>
  <thead>
    <tr>
      <th>Name</th>
      <th>Path</th>
      <th>Type</th>
    </tr>
  </thead>
</table>

但是对于表。

您也可以在FlexTable中格式化数据

您可以使用
flexTable.getRowFormatter()
flexTable.getColumnFormatter()
flexTable.getColumnFormatter()

您可以使用上述FlexTable属性将对齐、样式应用于行、列和单元格


如果您在FlexTable方面遇到任何问题,请提供一个独立的测试用例。在这种情况下,这正是我所要寻找的,但让我们假设我已经有一个格式和位置良好的表,我想在gwt中将其转换为一个“可编程”表……可以做到吗?@怀疑者,您所说的可编程是什么意思?你能告诉我你的要求吗?
Label.wrap("id");