I've following PrimeNG Table Here is the StackBlitz demo.
https://stackblitz.com/edit/datatablevalidation
Only one column "Value" is editable.
In "Value" column, I want to add some validation based on the column "Type". I am rendering column value type dynamically
<input pInputText [(ngModel)]="rowData[col.field]" type={{rowData.propValueType.toLowerCase()}} class="form-control" />
My biggest challenge is validating the table on the first load because column Type is a new column feature of the existed product and data already existed in the table, i need to show all validation errors when a table is initiated.
From my sample, you can see that the first row is has type email has an invalid value , same for row all rows