How to change a datagrid column value based on a enumvalue in datagrid

Hi Team, We have used a datagrid in which we have a column flag which is an enum value, I have enabled editable for this column in grid if value is Y then I want to update Date column with a particular date. I am unable to call a microflow, how can I achieve the above ?     Thanks In Advance
1 answers

Add a before-commit event to the entity.