Datagrid changes columns visibility based on condition

I have a datagrid with a dropdown column with values set as Yes/No. If value is set as Yes, it would show the values in 4 other columns in the same datagrid. If value is set to No, the values in the 4 columns should be either emptied or greyed out.   Is this possible?
1 answers

No I’m afraid that it is not possible to do that with default Mendix functionality.

Alternatives could be:

  • Use a listview and make the other fields conditional visible
  • Use a listen to widget which only shows the 4 columns when the value is set to yes
  • Use styling, not entirely sure if that is possible