primefaces panelGrid set the row height

UI Components for JSF
Post Reply
rchiu5hk
Posts: 32
Joined: 29 Jun 2015, 03:50

03 Feb 2016, 03:25

Dear all,

I have the panelGrid with several rows. I want to set different height of some rows in the panelGrid. is it possible? Could you tell me how to do if possible? I have below code for reference. I have tried to set the style height but does not work.

<p:panelGrid style="width:100%;" >
<p:row >
<p:column style="width:25%">
<h:outputText style="height: 60px;"
value="#{esLabel['lbl.signatureOfSuperviser']}" />
</p:column>
<p:column style="width:75%">
<h:outputLabel value="" />
</p:column>
</p:row>

kukeltje
Expert Member
Posts: 9605
Joined: 17 Jun 2010, 13:34
Location: Netherlands

03 Feb 2016, 10:49

change the css of the row?

rchiu5hk
Posts: 32
Joined: 29 Jun 2015, 03:50

04 Feb 2016, 04:28

it is fixed by set the style="height: 50px" in row and all columns and all outputText or inputText under each columns.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 28 guests