JCJoseph Christ Nithin Issack Syncfusion Team March 20, 2023 12:08 PM UTC
Based on your query,
you want to validate a column in the grid based on another column value. Your
requirement can be achieved using the custom validation. We have already
discussed the same in detail in the below documentation. Please refer the below
documentation for more details.
I came across this explenation, but I couldt follow it. In particular the customFn method with the switchcase. Could you tell me what part of that code I need to adjust to make a booleantype column enable/disable the validation for another column.
DMDineshnarasimman Muthu Syncfusion Team March 23, 2023 06:05 PM UTC
Query: Adding validation to column with dropdownlist
We have analyzed your query about the adding validation
to column with dropdownlist in the documentation. The window['role'] stores the
value of the one column and using switch case we validate the values of other
column. This validation method is added to the column through
column.validationRules. We have attached the documentation link for your