vs2010中的rdlc报告,如何在每一页上重复列标题?

发布于 2024-09-14 01:05:34 字数 491 浏览 12 评论 0原文

如何在 RDLC 报告中重复列标题(标题)?

它在这里说 http://msdn。 microsoft.com/EN-US/library/735D1EE7-3C89-46D8-A346-504DB10F33E1.aspx#TableNoGroups

要重复或冻结 Tablix 成员的列标题,请选择标记为“静态”的静态行。属性窗格显示所选 Tablix 成员的属性。通过设置此 Tablix 成员的属性,您可以控制第一行如何重复或保持在视图中。

但是,我尝试打开和关闭“RepeatOnNewPage”和“FixedData”,但没有任何反应(列标题仍然只显示在第一页中)。 我用的是VS2010,谢谢!

How do I repeat column header (captions) in RDLC reports?

It says here http://msdn.microsoft.com/EN-US/library/735D1EE7-3C89-46D8-A346-504DB10F33E1.aspx#TableNoGroups:

To repeat or freeze column headings for the tablix member, select the static row that is labeled (Static). The properties pane displays the properties for the selected tablix member. By setting properties for this tablix member, you can control how the first row repeats or stays in view.

However I've tried turning "RepeatOnNewPage" and "FixedData" on and off, and nothing happened (the column header still showed up only in first page).
I'm using VS2010, thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

伊面 2024-09-21 01:05:34

我刚刚遇到了同样的问题,发现您可能需要从标准属性(右侧对话框)进一步进入高级属性。

选择 Tablix 后,底部应该有一个框架显示行组和列组,最右侧有一个箭头。单击箭头并选择高级模式。

现在,RowGroups 部分应该显示 (Static) 和 (Details1),可能更多取决于您的 Tablix。选择静态行,在右侧属性窗口中,会有一个RepeatOnNewPage的选项。

完成此操作后,我的列标题按我的预期显示。

祝你好运!

I just had this same problem and found that you likely need to go a bit further from the standard properties (right-side dialog) into the Advance properties.

After selecting your Tablix, there should be a frame at the bottom showing Row Groups and Column Groups, with an arrow at the far right. Click the arrow and select advanced mode.

Now, the RowGroups section should show (Static) and (Details1), maybe more depending upon your Tablix. Select the static row and in the right-side properties window, there will be an option to RepeatOnNewPage.

After I did this, my column headers displayed as I expected.

Good Luck!

信仰 2024-09-21 01:05:34

这个困扰我的问题已经在我的错误列表中好几个月了!我想澄清一下,KDrewiske给了我解决方案,所以不要投票给我,但我似乎无法回答deerchao的后续问题。 (抱歉,我是该网站的新手)

除了 KDrewiske 的解决方案之外,我还必须选择第二行(上一个示例中的“Details1”)并将 KeepTogether 设置为 false。

我现在在每个页面上都有列标题,并且可以从我的列表中删除一个讨厌的错误!

问候,
离奇的

I have had this nagging issue in my bug list for months! I want to make it clear that KDrewiske gave me the solution so don't vote for me, but I can't seem to reply to deerchao's followup question. (Sorry, I'm new to the site)

In addition to KDrewiske's solution, I had to select the second row ('Details1' from the previous example) and turn KeepTogether to false.

I now get column headers on every page and can remove a pesky bug from my list!

Regards,
bizzarry

预谋 2024-09-21 01:05:34

我在下面的网址所代表的页面上的第二组说明中找到了答案。我通过 deerchao 提供的链接页面上的链接找到了此页面。

http://msdn.microsoft.com/EN-US/library/cc627566.aspx

I found my answer in the second set of instrucions on the page represented by the url below. I found this page by following a link on the page that deerchao provided a link to.

http://msdn.microsoft.com/EN-US/library/cc627566.aspx

装迷糊 2024-09-21 01:05:34

如果您想在报告中显示超过 1 页的 Tablix 标题,请观察以下内容 (示例)

  1. 只需单击一次表格
  2. 选择表格后,您将看到行组和列组部分
  3. 在列组部分右侧的末尾,您将看到向下箭头标记,只需单击箭头标记并选择“高级”模式”。
  4. 行组部分:
    *静态和其他一个是详细信息将在那里
    *再次单击行组中的静态并按F4,您将看到属性窗口并将“RepeatOnNewPage”属性更改为“True”。

If u want to display Tablix header more than 1 page(s) in Report the followings things to be Observed (example)

  1. Just click once your table
  2. After select your table you will see the Row Groups and Column Groups Portion
  3. On the End of Right Side of Column Groups part you will see the down Arrow mark, just click arrow mark and select "Advanced Mode".
  4. In Row Groups Part:
    *Static and other one is Details will be there
    *click once again static in Row Groups and press F4 and you will see the property window and make Change to "True" for "RepeatOnNewPage" Property.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文