user1471159
user1471159

Reputation:

How to create HTML table like structure in flex

The html table coding structure looks something like the code shown below
<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?

Upvotes: 0

Views: 1218

Answers (1)

JeffryHouser
JeffryHouser

Reputation: 39408

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.

Upvotes: 1

Related Questions