Forum Stats

  • 3,781,257 Users
  • 2,254,496 Discussions
  • 7,879,625 Comments

Discussions

How to add custom validation before commiting data in interactive grid

User_7LW0Q
User_7LW0Q Member Posts: 1 Employee

Hi Team,

We have requirement wherein we are using interactive grid for data capture(we have effective date fields as well). We have enforced few validations wherein we are restricting user from entering data with overlapping dates or data with date gaps(we are comparing it with the data present in the DB).

We are facing an issue when user is trying to add multiple rows in interactive grid at the same time. Validations are not getting triggered for for all the rows in a proper sequence.

Is there any way in apex wherein we can validate data before commit ?