Access to column and row in custom validation

Hope you can help!

I am looking at the custom validation right here:

https://ej2.syncfusion.com/angular/documentation/grid/editing/validation#custom-validation


It works, but what I also need is access to the row and column, because my validations are based on other values in the same row. 

And my grid is dynamic, so I need to access the column to see the rules. Column.field will work too, I can go from there.


Thank you!


1 Reply

JC Joseph Christ Nithin Issack Syncfusion Team March 12, 2024 09:17 PM UTC

Hi Iana,


  Greetings from Syncfusion support.


  Based on your query, you want to set custom validation to a column based on the value of another column. We have already discussed the same in the below documentation. Please refer the documentation for more details.


  Documentation: https://ej2.syncfusion.com/angular/documentation/grid/editing/validation#custom-validation-based-on-dropdown-change


Regards,

Joseph I.


Loader.
Up arrow icon