PanelGrid « Control « JSF Q&A

1. JSF CSS panelGrid - how to make its contained elements all constant width

For instance, right now I am trying to add a panelGrid to my page that contains X buttons. Each button has different lengths depending on how long the text is ...

2. how to give colspan and rowspan in JSF panelgrid?

how to give colspan and rowspan in JSF panelgrid?

3. JSF two-colum repeatable table inside panelgrid or equivalent

I have an List of items which need to be displayed as a table. That table need to be repeated as a two-column grid where each cell contains the same table ...

4. How to merge cells (colspan) using jsf h:panelGrid?

Suppose I want display table:

|        |           |        ...

5. JSF 2 : panelGrid questions

1) I can see that panelGrid has an attribute of footerClass, headerClass.How can i specify the footer and header contents, i guess via facets ? 2) And this leads to another question ...

6. jsf: generate another panelGrid

My code:

<%@ taglib uri="" prefix="h"%>
<%@ taglib uri="" prefix="f"%>

<h:panelGrid columns="3" border="1" rules="all" title="This is panelGroup demo">
  <f:facet name="header">
  <h:outputText value="Submit Detail"/>

7. JSF- h:panelGrid specific style for specific column

There is h:panelGrid table with 2 columns. It's needed,that first column to be 30% and the second one 70% of whole table width. Is there some configuration for such case? Looks like columnClasses attribute ...

8. JSF h:panelGrid with ui:repeat

Hi my problem is ui:repeat inside a h:panelGrid. Its a big table from a list of objects.. All objects are saved in one list. I tried this:

<h:panelGrid columns="1000">
  <ui:repeat var="item" value="#{item.list}">

9. Questions regarding applying CSS to h:panelGrid

Hope you all will be fine. Actually i designed a page in which i use h:panelGrid. I also applied Css class to it.Here is my code

<h:panelGrid columns="3"

10. colspan in panelgrid

11. column spanning inside panelGrid

12. setting width in panelGroup, panelGrid

13. merged cell (colspan) with panelGrid

14. Dynamic PanelGrid?

16. Using panelGrid

17. how to set the top of h:panelGrid?

18. missing columnClasses in h:panelGrid

19. h:panelGrid and thead rows

20. h:panelGrid and colspan

No, and it's a real pain. There are some third-party tags that support spanned columns, but not the core tags. What I end up doing is multiple panelGrids. But then you need to use columnClasses (or equivalent) to keep them lined up properly, since otherwise the column widths will vary for each panelGrid.

21. displaying data in panelgrid

22. selectManyCheckBox within a panelgrid?

23. How to achieve colspan in

24. Problem with a h:panelGrid and a ui:repeat

Hello, I am trying to use a h:panelgrid with a ui:repeat. I would like for my h:panelgrid to show lines of three of the h:panelgroups that are inside the ui:repeat and end with the "hard coded" h:panelgroup. However, the h:panelgrid treats the ui:repeat as only one component. End result I have two components in my h:panelgrid!! Can anyone please help? Thanks, ...

26. jsf panelGrid

Hello the following is my code <%@ taglib uri="" prefix="h"%> <%@ taglib uri="" prefix="f"%> ...

27. h:panelGrid empty space in cells