Conditional hiding of crosstab columns and BoxType Problem


I have used a boolean variable to conditionally hide a crosstab column via a prompt (Checkbox ). The problem i’m facing is when i set the box type as “none” for the hidden column , the crosstab’s columns cells are getting misaligned with the column headers. Is this a bug with BoxType property ? Is is there any other way that we can conditionally hide the columns without using the “box type” property.

Appreciate your response as early as possible

I have already tried to set the padding to 0 / height and width to 0. But this is not what Im looking for.