title: How to disable check box in primeng datatable
body: <p>I need to disable few checkboxes in primeng datatable based on condition:</p>
  
  <p>For example:</p>
  
  <pre><code>&lt;p-column *ngFor="let col of cols; let i = index" [field]="col.field" [header]="col.header" [styleClass]="col.class" selectionMode="{{col.header==fields.BULKACTIONS.header ? 'multiple': ''}}" [disabled]="isDisabled()"&gt;
  </code></pre>
  
  <p>But this doesn't seem to be working. There is feature request for the same on primeng forum: <a href="https://forum.primefaces.org/viewtopic.php?f=35&amp;t=47101&amp;p=155122&amp;hilit=disable#p155122" rel="nofollow noreferrer">https://forum.primefaces.org/viewtopic.php?f=35&amp;t=47101&amp;p=155122&amp;hilit=disable#p155122</a></p>
  
  <p>Has anyone made a hack for this?</p>