Hi
As below I'm using one of samples(samples.xhtml) from Barcelona theme which uses Panel Grid
<p:panelGrid columns="4" columnClasses="ui-grid-col-2,ui-grid-col-4,ui-grid-col-2,ui-grid-col-4" layout="grid" styleClass="ui-panelgrid-blank form-group" style="border:0px none; background-color:transparent;">\
So this panel grid is reponsive and is working fine,
but i'm wondering if it is not possible to do 2 things,
1) colspan - Ex: merge from second the fourth column
2)breakline - Ex: show only 2 elements(1 column each), and then go to next "Line" instead of always showing 4Lines
Best Regards
Responsive PanelGrid (Colspan and breakline)?
Forum rules
Please note that response time for technical support is within 3-5 business days.
Please note that response time for technical support is within 3-5 business days.
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Maybe better to use Grid CSS directly without panel grid;
https://www.primefaces.org/showcase/ui/panel/grid.xhtml
https://www.primefaces.org/showcase/ui/panel/grid.xhtml
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Also, please see; https://github.com/primefaces/primefaces/issues/2677
Github Profile: https://github.com/mertsincan
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Glad to hear, thanks a lot for the update!
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 3 guests