Hi everybody,
I'm using the harmony theme with Primefaces 8.0 and the dataTable rowStyleClass don't work. All the style classes i provided don't cusomize the color of the dataTable lines.
Did somebody face this problem before ?
Thanks.
Harmony theme problem with Primefaces 8.0
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.
Hi
Sorry for late response! I can't see any problem. I'll send you a sample code and ss, maybe it will help. If you have a more specific issue, please send a more detailed description with the code block
For sample style add this css to your .xhtml file:
For styling rows add this attribute:
Best Regards,
Sorry for late response! I can't see any problem. I'll send you a sample code and ss, maybe it will help. If you have a more specific issue, please send a more detailed description with the code block
For sample style add this css to your .xhtml file:
Code: Select all
<ui:define name="head">
<style type="text/css">
.new {
background-color: #54a90a !important;
background-image: none !important;
color: #ffffff !important;
}
</style>
</ui:define>
For styling rows add this attribute:
Code: Select all
rowStyleClass="#{car.year ge 2000 ? 'new' : null}"
-
- Information
-
Who is online
Users browsing this forum: No registered users and 7 guests