title: Disable row selection for a few rows only in a p:dataTable
body: <p>I would like to know if there is a way of disabling the radio-based row selection for a given set of rows in Primefaces, based on a bean property.</p>
  
  <p>Example:</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;p:dataTable var="foo" value="#{bean.foos}" selection="#{bean.selectedFoo}"&gt;`
      &lt;p:column selectionMode="single" /&gt;
      &lt;p:column&gt;
          &lt;h:outputText value="#{foo.bar}" /&gt;
      &lt;/p:column&gt;
  &lt;p:dataTable&gt;
  </code></pre>
  
  <p>In this case, imagine I would like to disable the rows where <code>foo.bar == 1,5,10</code>, by disabling the rows I mean disable the radio button associated with the row.</p>
  
  <p>I couldn't figure out a way of accomplish that... any ideas? Even a css + javascript hack solution would be acceptable.</p>