Event when change Item in TABLE GRID

Someone to know, how to add a event in table grid or container when a row is updated using SAVE | CANCEL, (editable mode) on grid? or How to add listener on button SAVE or CANCEL?