如何在 flex 中创建类似 HTML 表格的结构 [英] How to create HTML table like structure in flex
问题描述
html 表格编码结构类似于下图所示的代码 The html table coding structure looks something like the code shown below 有很多方法.我可能会首先查看 表单布局容器.这对于两列布局非常有用,尽管它几乎无法控制主要用于 There are a lot of ways. I would probably start by looking into the Form layout container. That is great for a two column layout, although it gives you little control over the first column which is primarily used for 理论上,您也可以使用嵌入式容器创建类似的东西,但我不认为我会推荐这种方法,因为我怀疑您最终会得到很多不必要的容器. You could also, in theory, create something like this by using embedded containers, but I do not think I would recommend that approach because I suspect you'll end up with a lot of unnecessary containers. 您也可以编写自己的布局类.此处的布局的更多信息.这是最强大/最灵活的方法,但可能也是最耗时的方法. You could also write your own layout class. More info on layouts here. This is the most powerful/flexible approach, but probably also the most time consuming. 这篇关于如何在 flex 中创建类似 HTML 表格的结构的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!<表>
<td>文本</td>
<td>输入文本字段</td>
</tr>
<td></td>
<td></td>
</tr>
<td>提交按钮</td>
</tr>
</table>
如何在flex应用程序中创建具有上述行和列格式的flex表结构,并且还可以选择colspann和rowspan交替?
<table>
<tr>
<td>Text</td>
<td>input text field</td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td>submit butto</td>
</tr>
</table>
How to create such table structure in flex which has above given row and column format in flex application with the option of colspann and rowspan alternate too?推荐答案
登录
关闭