posted 16 years ago
Hi,
i'm trying to make a table including <thead> row via <h:panelGrid. But i couldnt code for thead columns. I tried to use <f:facet, but it not same as my want.
<f:facet name="header">
<h:outputText value="header"/>
</f:facet>
How can i make this table by <h:panelGrid
<table>
<thead>
<tr>
<th align="left">Thead1</th>
<th align="left">Thead2</th>
<th align="right">Thead3</th>
</tr>
</thead>
<tbody>
<tr>
<td>Row 1 - Col 1</td>
<td>Row 1 - Col 2</td>
<td align="right">Row 1 - Col 3</td>
</tr>
<tr>
<td>Row 2 - Col 1</td>
<td>Row 2 - Col 2</td>
<td align="right">Row 2 - Col 3</td>
</tr>
</tbody>
</table>
Have a nice day.