MattNorman
Well-known member
- Joined
- May 22, 2021
- Messages
- 98
- Programming Experience
- 1-3
I have a model that contains a lot of fields that are bound to my data grid.
A lot of those fields may have null values depending on skills that each user has assigned to them. (99 possible but typically will only be up to 20)
Is there a way that I can set the visibility of a text column if all row values for that column are null/empty?
The only way I can think of is to have a bunch of visibility properties in my view model, set those whenever the data is refreshed and bind them to the text columns visibility property.
This should work but seems a bit of a messy way of doing it.
Does anyone have any better ways of doing this?
A lot of those fields may have null values depending on skills that each user has assigned to them. (99 possible but typically will only be up to 20)
Is there a way that I can set the visibility of a text column if all row values for that column are null/empty?
The only way I can think of is to have a bunch of visibility properties in my view model, set those whenever the data is refreshed and bind them to the text columns visibility property.
This should work but seems a bit of a messy way of doing it.
Does anyone have any better ways of doing this?