Hi, on datatable i this column:
<p:column headerText="Attivo" width="50" style="text-align:center;" >
<p:cellEditor>
<f:facet name="output">
<h:selectBooleanCheckbox value="#{o.attivo}" readonly="true"/>
</f:facet>
<f:facet name="input">
<p:selectBooleanCheckbox value="#{o.attivo}" />
</f:facet>
</p:cellEditor>
</p:column>
field attivo is boolean
1. Is readonly but on output in modificable?
2. if the line is not selected, everything is ok, otherwise the check status is not clear
Thanks
Francesco
DataTable selectBooleanCheckbox
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
Please try;
Code: Select all
.ui-datatable .ui-datatable-data tr.ui-row-editing td.ui-editable-column .ui-chkbox-box.ui-state-active,
.ui-datatable .ui-datatable-data td.ui-cell-editing .ui-chkbox-box.ui-state-active {
color: #ffffff;
border-color: #ffffff;
}
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 2 guests