Protect a form from deletion

Dear all,

I have a form with editable grid, but I don’t want the user to delete the record, the form data is just to be updated, but the form automatically have an icon for deletion that placed so close with update icon. Is there a way to protect this form from deletion? I think about to put something in the event “onBeforeDelete” , perhaps to cancel the deletion, but don’t know yet the command. Please help if any experience.

Thank you,
Best Regards,
Wayan Sugata

sc_deletion.png

Re: Protect a form from deletion

Hi,
in the panel on the left click on “Toolbar” and remove the “Delete” button.
That should do it.

jsb

Re: Protect a form from deletion

Hi jsbinca,

That is the way, my table is safe now from ‘accident’ deletion.

Thank you ,

wayans