<p:dataTable ....>
<f:facet name="header">
<p:commandButton id="viewCommand" value="Add" />
<p:commandButton id="viewCommand" value="Maintain" />
<p:commandButton id="viewCommand" value="View" />
</f:facet>
....
How can I align those command buttons left, now they are in center.
Thanks
Align the commandButtons in a facet
Try it:
<p:dataTable ....>
<f:facet name="header">
<p:commandButton id="viewCommand" value="Add" style="float:left"/>
<p:commandButton id="viewCommand" value="Maintain" style="float:left"/>
<p:commandButton id="viewCommand" value="View" style="float:left"/>
</f:facet>
<p:dataTable ....>
<f:facet name="header">
<p:commandButton id="viewCommand" value="Add" style="float:left"/>
<p:commandButton id="viewCommand" value="Maintain" style="float:left"/>
<p:commandButton id="viewCommand" value="View" style="float:left"/>
</f:facet>
-
- Information
-
Who is online
Users browsing this forum: No registered users and 23 guests