Validation Alerts Demo

Alerts have a 'PreventEdit' property which will automatically disallow edits if an edit - directly made in AdapTable - triggers an Alert.

This is essentially client-side validation and is designed to complement, but not replace, server validation.

This example has 3 'Prevent Edit' Alerts:

  • All Edits are prevented in the 'Cust Ref' column (with a Notification being diplayed)
  • Invoiced' column cannot accept values over 300
  • 'Order Cost' column cannot more than double in value (with a MessageType of Warning)
Note: these Alerts will apply also when you perform a Smart Edit or Bulk Update (and will be disallowed by the UI).

AdapTable Help Resources:

Generating dummy data, please wait ...