Protecting Rows
Developers can prevent the addition and deletion of rows by using the ProtectRows event type. This is particularly useful when a form has a change handler that doesn't support saving changes via the Save button.
Here's a sample configuration:
ID | TABLE_SCHEMA | TABLE_NAME | COLUMN_NAME | EVENT_NAME | HANDLER_SCHEMA | HANDLER_NAME | HANDLER_TYPE | HANDLER_CODE | TARGET_WORKSHEET | MENU_ORDER | EDIT_PARAMETERS |
---|---|---|---|---|---|---|---|---|---|---|---|
s02 | view_cashbook | Change | s02 | cashbook | TABLE | _Commit | |||||
s02 | view_cashbook | ProtectRows | ATTRIBUTES |
Additionally, you can disable saving changes by using the DoNotSave event type.