I want to restrict certain cells in a DataTable from editing. I mean those fields are not allowed to be edited. How can I achieve this?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Just don’t use
<p:cellEditor>then.Note that the
<f:facet name="output">is specific to<p:cellEditor>. You should remove it as well. Alo note that<h:outputText>is not necessary if you don’t need to use any specific attributes on it.