I am using angular ag-grid to display some data which is coming from an API. I have some values as Boolean for them I am using checkboxes, to show the Boolean value if value is true I will show checkbox as checked and if value is false I will show checkbox as unchecked. My aim is to disable a checkbox if there is only one checkbox checked in a row. I have created a demo under this link https://stackblitz.com/edit/ag-grid-checkboxes?file=app%2Fag-grid-checkbox%2Fag-grid-checkbox.component.ts.
On load I am able to do it but If I will change the state of a checkbox I want to re-validate. Could anyone please tell me how can I achieve this?