I would like to add a condition to Column-1 such that when the user wishes to edit this table and this column(using a dropdown list for values) via the app, it would only be editable if:
- Column-2(editable) has its value selected as “YES”
- The value in Column-3(non-editable) is equal to a list ofspecific strings eg: “ABC”, “XYZ”, etc.
I was able to add a condition for case-1 using a “hooks”, however, when attempting to add another hook for case-2, the behavior is not as expected. As an example, the second hook was defined in this format:
“hooks”: [{
“column”:“column_name”,
“on”:“validate”,
“function”:“customEnableOnSet”,
“config”:{
“column”:“column_reference”,
“enableOnValue”:“value_1”
}
}]
Any suggestions on this making this hook work, or an alternative suggestion to implement this idea would be helpful