2

Using SSRS 2012

I have a tablix on the left side of the page which is tied to a dataset. When previewed the tablix will consume most of the left side of the page as it is designed to do. No problem so far.

I have 4 other tablix on the right side of the same page used just to create boxes and aligned text. I hope the ascii art will help visualize this. I hear that this type of tablix use is not standard and if that is really the problem I will revisit their use, but I like the alignment possibilities.

Here is a graphic representation of the issue:

Design mode:

|HEADER | |------|
| DATA  | | xxxx |
| DATA  | |------|
|-------|
          |------|
          | xxxx |
          |------|

          |------|
          | xxxx |
          |------|

When run in preview or exported using TIFF, PDF or Excel, I find that wherever the left tablix ends, all the tablix on the right side are pushed below it. Like this

Preview mode:

|-------| |------|
| xxxx  | | xxxx |
| xxxx  | |------|
| xxxx  |
| xxxx  |
| xxxx  |
| xxxx  |
| xxxx  |
| xxxx  |
|-------|
           |------|
           | xxxx |
           |------|

           |------|
           | xxxx |
           |------|

There are no overlaps, this renders the same in preview and when exported. I have moved the left tablix up and down and verified that the bottom right corner of the left tablix determines where the interference with the objects on the right side will occur.

Please help me understand what is going on here. I understand overlapping will mess things up but as I said there is none of that going on here. The left tablix Page break property is None, False,False

Enclosing everything in a rectangle does not fix this. It moves the entire page down and the tablix still affects formatting as it did before.

I am out of ideas.

4

1 回答 1

4

您可能对此没有任何运气,但矩形绝对是这里的最佳选择。

您说您将所有内容都包含在一个 Rectangle 中,但根据您的描述,您需要将三个右 tablixes 包含在一个 Rectangle 中,而不是全部四个。

这样,右侧的三个 tablix 在 Rectangle 内一起渲染,然后左侧的 tablix 被渲染并与 Rectangle 及其内容放在一起,假设它们具有相同的垂直位置 - 这应该会达到您想要的结果。

要检查的另一件事是正确的 tablix 是否正确放置在 Rectangle 中 - 检查每个 tablix 的Parent属性,以确保已根据需要将其从 Body 更新为 Rectangle。

于 2013-07-09T08:31:27.280 回答