I have following code through which I am displaying collections of categories and subcategories.
<a:repeat value="#{category.getAllCategories(hbSession)}" var="_category" >
<rich:panel>
<f:facet name="header">
<h:outputText value="#{_category.catNm}"></h:outputText>
</f:facet>
<rich:dataGrid value="#{subCategory.getSubCategoryForCategory(hbSession, _category)}" var="_subCategory">
<!-- command link code goes here -->
<h:commandLink value="#{_subCategory.subCatNm}"/>
</rich:dataGrid>
</rich:panel>
</a:repeat>
Now this sets in objects in row by row basis. My requirement is to set categoies in set of 3 columns. I have tried using rich:datagrid instead of a:repeat but then it sets fix size table. I want to have box layout type setup instead of fixed size table setup.