The line (styleClass="form-group ui-panelgrid-blank") presents a problem, when I navigate between rows dataTable, the second row selected gets transparent, the problem is the "ui-panelgrid-blank" word.
Example:
<p:panelGrid columns="2"
columnClasses="ui-grid-col-11,ui-grid-col-1"
style="padding: 0px 0px;border:0px none; background-color:transparent;"
styleClass="form-group ui-panelgrid-blank"
layout="grid">
<p:dataTable id="myDataTable"
...
</p:dataTable>
<p:commandButton icon="ui-icon-plus"
title="Button"/>
</p:panelGrid>
dataTable inside a panelGrid
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.
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
This issue is related PrimeFaces core. For now, please try the following code;
Code: Select all
<style type="text/css">
body .ui-panelgrid.ui-panelgrid-blank .ui-datatable tbody>tr.ui-state-hover {
background-color: #e8e8e8;
}
body .ui-panelgrid.ui-panelgrid-blank .ui-datatable tbody>tr.ui-state-highlight {
background-color: #E91E63;
}
</style>
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 17 guests