When the user deletes a row from a form grid, can I define an event handler to intercept
I have a requirement where certain rows in a form grid, can be modified by the user, but cannot be deleted. while other rows can be deleted. This is determined by a hidden field (a flag) in each row.
I cannot find anywhere in the configuration for the Form Grid where I can define this. There is only options to disable add feature and define the delete confirmation message.
What I want to achieve is if the user clicks on the X button to delete the row, the application will check the flag field of the row(this can be achieved by Bean Shell, I suppose) and display the warning message accordingly.
OR alternatively is there any way to remove X (delete row) button for certain rows programmatically? Meaning those rows that cannot be deleted, should have the X button removed. Those rows that can be deleted will have the X button remain.
Thanks,
