22
Views
2
Comments
[OutSystems Data Grid] Need help in Data Grid Cell Validation
outsystems-data-grid
Reactive icon
Forge asset by OutSystems

Problem statement : On Selection of Exit status only resignation date should show mandatory field error. and after selecting resignation date lastWorkingDate should auto populate.
likewise, On section of Allocation option1 only start date and end date should show mandatory field error. 
Implementation : below code not working as expected for status on change.

2022-12-22 10-00-39
Beatriz Sabino

Hi Shriyash,

Would it be possible for you to share the .oml file, or perhaps create one where the issue is occurring? This would make it easier for the community to assist you.

2025-07-22 10-30-27
Mandar Deshpande

Hi @Shriyash Dixit 

In your case, OnCellValueChange does not revalidate other columns.  

In OutSystems Data Grid, OnCellValueChange only reacts to the column that was edited.  

Your validation is for another column (ResignationDate) hence the grid does not refresh validation UI for that column.

You need to use Data Grid Column Validation Rule here.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.