I am using ag grid community version with angular 6. I have a single character (Y/N) as one of the attribute in json response. I am able to display the checked value in UI
cellRenderer: params => {
return `<input type='checkbox' ${params.value == 'Y' ? 'checked' : ''} />`;
}
When I change the value in UI the rowData is not getting updated. I tried to (change)="onChange($event)" but does not seem to work. Do I need to write a custom Cell Rendered and call some ag grid api to register the change?
Any code sample will be much appreciated.
Thanks