Disable a button after validating a field of a selected row

Disable a button after validating a field of a selected row

zackkengzackkeng Posts: 3Questions: 2Answers: 0

Hi, I would like to implement a function where after user click on a row, before the Edit button is enabled, it will validate some field of the selected data.

I know this can be done by onInitCreate, but I face a problem that after validating I don't want to allow user to edit that row. How can I prevent the Edit button to be enabled? How can I disable the button?

This discussion has been closed.