vs2010中的rdlc报告,我如何在每一页上重复列标题? [英] rdlc report in vs2010, how do i repeat column header on every page?

查看:38
本文介绍了vs2010中的rdlc报告,我如何在每一页上重复列标题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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

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

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

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.

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

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!

推荐答案

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

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.

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

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.

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

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.

祝你好运!

这篇关于vs2010中的rdlc报告,我如何在每一页上重复列标题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆