Maybe I explained it wrong.
I have rendered a <select> inside a cell using ‘cellsrenderer’, the select looks good visually, but I need to assign events for when the value changes, and I want to know how to assign them to them.
` private _getActualValueBoolean = (row): string => {
let cell =
‘<select style=”width: 100%; height: 100%; border: white;” onchange=”myFunction()”>’;
if (row.actualValue == ‘true’) {
cell += ‘<option selected=”selected” value=”true”>Yes</option>’;
cell += ‘<option value=”false”>No</option>’;
}
if (row.actualValue == ‘false’) {
cell += ‘<option value=”true”>Yes</option>’;
cell += ‘<option selected=”selected” value=”false”>No</option>’;
}
cell.concat(‘</select>’);
return cell;
};