I've got a PrimeNG app with a p-button within a cell of each row of a p-table that has a pInitEditableRow property so that when you click on it the table row becomes editable - just like it is supposed to.
So the problem is I don't want it to be editable all the time. I have a condition that sets [disabled] to true and the p-button then LOOKS like it's disabled.
However, when I click on the disabled p-button it still renders the table row editable. When it's disabled I want it to do nothing.
Here's my p-button. I would post more code except that's really all there is to it. If I leave it exactly like it is the button looks disabled but still renders the table row editable.
<p-button pInitEditableRow icon="pi pi-pencil" [disabled]=true></p-button>
Makes the button LOOK disabled...
But clicking it still renders the row editable...
Thanks much.

