SSRS dynamic report width

  • Using SSRS 2008 R2, if I programmatically hide a column, how can I shrink my report width to match the now smaller tablix width?

    Thanks,

    Rob

  • Have you tried the ConsumeContainerWhitespace property?

  • Setting ConsumeContainerWhitespace to True (from default False) doesn't change the report width.

  • Has anyone figured out a solution to this? I am having the same problem. I want to dynamically hide columns in my report, so the tablix needs to be wide to accommodate all of the columns. But once certain columns are hidden, I want the report to shrink and only be as wide as is needed to show the selected columns. This works fine when rendered in the viewer, but the export to pdf shows blank pages, even when the content fits within a standard landscaped page.

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply