Mat Anthony wrote:Hi All,
In primefaces the tag <p:dataGrid has the attribute columns that creates a new row once the columns value has been reached.
I have the following code that needs to create 2 columns for each row using the jsf2 tag ><h:dataTable.
It works ok wen using primefaces tag ><p:dataGrid , but how do you do the same using jsf2 tag ><h:dataTable.
Mat
Hey Mat.
You want to create x columns dynamically?
Then maybe this?
http://jsf-tables-tutorials-and-examples.blogspot.com/2010/06/how-to-create-table-with-dynamic_29.html
If you need further help please specify what
JSF version you are using and also versions of other frameworks should you use them. I'm guessing JSF2 and in that case ui:fragment and ui:repeat comes to mind