This content has been marked as final.
Show 3 replies
-
1. Re: datagrid problem
user080701 Jul 21, 2008 12:04 AM (in response to user080701)Sorry, the exact layout is
x x x x
s x x x x
where s is empty cell -
2. Re: datagrid problem
daniel.soneira Jul 22, 2008 4:55 AM (in response to user080701)If you don't HAVE to use the dataGrid you could maybe look into
t:panelGrid / t:panelGroup [Tomahawk components].
t:panelGroup allows the attribute colspan which you could use for the last element in the first row.
or simply use an empty cell at the end of the first row as well.
code would look something like this:<t:panelGrid cols="5"> <h:outputText value="1.1"/> <h:outputText value="1.2"/> <h:outputText value="1.3"/> <t:panelGroup colspan="2"> <h:outputText value="1.4"/> </t:panelGroup> <rich:spacer/> <!-- this is your empty cell --> <h:outputText value="2.1"/> <h:outputText value="2.2"/> <h:outputText value="2.3"/> <h:outputText value="2.4"/> </t:panelGrid>
-
3. Re: datagrid problem
ilya_shaikovsky Jul 22, 2008 5:59 AM (in response to user080701)a4j:repeat - allows fully free markups creation using iterable data.