I have an RDLC report showing a table. A certain row in this table should not appear in some conditions apply. I was able to set the Hidden property to false using an expression if these conditions apply.
The problem is that, though hidden, the row is still taking place in the table, i.e. it is not collapsed.
How can I collapse it rather than simply hide it?
I am using RDLC with report viewer 2010 SP1
Check this solution
set Hidden property to True or False
= (Fields!UserName.Value.ToString() = "")
Also check expression examples
Hope this answer help you.