Return function used by grid editor


I’m creating a customfield to edit a Date value (only hour and minute) on a grid.
My customfield works correctly, but, when I close the grid editor, value stay unchanged.
What is the function of the customfield used by the grid editor to return the new value?

Thanks in advance