material-table icon indicating copy to clipboard operation
material-table copied to clipboard

How to add a function call when the row is entering editing status. (question)

Open yinlitao opened this issue 7 years ago • 4 comments

I like to do some changes on the row when the row is entering editing mode. Seems I couldn't find a easy way. The onRowUpdate is triggered when user clicking the save button. any suggestions?

yinlitao avatar Oct 23 '19 21:10 yinlitao

I like to do some changes on the row when the row is entering editing mode. Seems I couldn't find a easy way. The onRowUpdate is triggered when user clicking the save button. any suggestions?

Do you find a way to solve the problem?

Joycewu31400 avatar Nov 15 '19 03:11 Joycewu31400

Hi,

Ran into same issue except for onRowAdd. Does anyone have a solution for this ?

triusis92 avatar Nov 24 '19 15:11 triusis92

Yes, we need onBeforeAdd/Update/Delete() as well as onValidateAdd/Update()

thelazydogsback avatar Jan 10 '20 01:01 thelazydogsback

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You can reopen it if it required.

stale[bot] avatar Jun 30 '20 23:06 stale[bot]