Posted 30 July 2021, 2:07 am EST
Hi team,
We have a requirement where we have to disable the save button till the grid has error else the save button will be enabled.
Created a small snippet for the same:-
https://stackblitz.com/edit/angular-ndri8y?file=src/app/app.component.ts
(validation code : - 229 - 256 and section cell lastUpdated is modified on line 439 - 442)
In this snippet if you enter a already existing combination of ‘section’ cell value and ‘name’ cell value then error is reflected on the section cell showing ‘Already exist’
So till this error persist on any cell , the save button will be disabled.
Can you please provide solution for this requirement.
Thank you.