title: Enabling disabling checkboxes in a datatable
body: <p>Is there a way in Primefaces to enable or disable a checkbox in a datatable? Right now my datatable is like this:</p>
  
  <pre><code>&lt;p:dataTable id="dTable" var="tt" value="#{aBean.aList}" selection="#{aBean.selectedValue}" rowStyleClass="#{tt.state.intValue() le 1 ? 'active' : 'passive'}"&gt;
      &lt;p:column selectionMode="multiple" /&gt;
      ...
  &lt;/dataTable&gt;
  </code></pre>
  
  <p>but this code just puts a column with checkboxes together with a checkbox in the header. I want checkboxes to be rendered according to a value in the backing bean.</p>