40
Views
3
Comments
[OutSystems Data Grid] SetValidationStatus onLoad of datagrid
outsystems-data-grid
Reactive icon
Forge asset by OutSystems
Application Type
Reactive

Hi,

How we can call the SetValidationStatus (API_Validation) action on load of the datagrid. So, Onload of the grid it will check the validation and show the dirty marks.

Thanks,

2022-11-12 11-28-30
Gonçalo Martins
Staff

Hello @Rohan Hanumante 

Could you please be more specific by explaining what you've tried so far and what problems you're having?  Have you tried executing it in the Initialize event from the Grid block?
I did a quick test doing that and it seems to work as expected:

Cheers,
GM

2020-06-27 18-35-53
Rohan Hanumante

Hi,

How can I set the RowNumber on OnInitialize event. Or is there any other way to call SetValidationStaus by using Javascript?

Basically, I wanted to validate no. of columns data in the data grid.

Can you provide the oml file? 

Thanks for the update!!

2022-11-12 11-28-30
Gonçalo Martins
Staff

Hi @Rohan Hanumante 

Could you please share what you've tried so far?

And what do you mean by "I wanted to validate no. of columns data in the data grid"?
What is your real use case and why do you think SetValidationStatus is what you need?

Cheers,
GM

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