How to page break after specific row(Suppose 25 rows) in rdlc reporting

血红的双手。 提交于 2019-12-17 23:31:06

问题


How to page break after Specific rows (like 15 rows) in rdlc reporting.


回答1:


It's so easy.Suppose My reports looks like

Enable advance mode

Add a group for page break

Define the number of rows what do you want in the group expression(In this case i want 15 rows)

Delete group column if you not need

Delete Expression from Group details

Select Group Properties and set page break attribute breakLocation as End,Disables as false and RestPageNumber as fasle.

Select Group Details Properties and Set Disable=true

Now here's the report with page break after specific row

If You want to keep Table Header in every page than click here




回答2:


You can add Row Group to your Tablix. Then in row group properties select Page Break section and set "Between each instance of a group".




回答3:


Maybe you can use a rectangle with pagebreak, the rectangle is able to define a fixed heigth




回答4:


What I did was create another property on your object called lineBreak or something. when loading the objects make sure every 25 has the same number and increment by 1. then in table put a group over the details, grouping on lineBreak. then add an extra line inside that group, then every 25th row should be a blank line.



来源:https://stackoverflow.com/questions/10467997/how-to-page-break-after-specific-rowsuppose-25-rows-in-rdlc-reporting

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!