JavaScript

canGridSubmit

Description

Fires when the user tries to submit all changes made to records in the Grid by clicking the "Submit" button. If the event returns false, the action is cancelled.

Discussion

The canGridSubmit event occurs when the user submits all edits to the Grid component. This is done by clicking the "Submit" button for the Grid, as opposed to individual submit buttons for each Grid row.

To prevent the user from submitting all changes to records in the Grid, the event can return false. For example:

return false;