I have 2 bands - band 0 being a regular row and band 1 is a card view.
I want to hide a column in band 1 based on another column in band 1. In other words, for each row in band 0, band 1 will have different number of visible columns. Is this possible?
When I tried to set a column's Hidden property to false, it merely disabled the column - not invisible.
You can't hide a column on a row-by-row basis.
However, you might be able to acheive what you want using CardSettings.CardStyle = VariableHeight. In this style, null value cells are not displayed in the card. So you could set the Value of the cell to null to hide it.
Is it also possible to set the Height of the cell to 0 for the same effect?
If I do set it 0, how might I reset it to the default height?
Nevermind - height seems to be read-only.
So I can set string type cell to null but what do I do if the cell type is an enum for example?
You would have to use a Data Source that stores values as objects, such as a DataTable or UltraDataSource, or your own custom data source.