是否有一个 DevExpress XtraReports 事件在打印详细信息子报告的所有小部件后触发,例如格式化?
我希望能够浏览打印的详细信息子报告的所有实例,并对记录进行一些格式化,部分方法是根据已打印的另一条记录计算一条记录的内容。打印报告的代码有点混乱,所以我认为这个特定问题最容易通过打印报告的后处理来处理,而不是通过更改底层数据绑定等代码。
好吧,坦率地说,我什至无法找到一种方法来格式化单个 XRTable 中的文本记录(XRTable.AfterPrint 事件在这里对我不起作用),更不用说根据另一个 XRTable 中输出的值来格式化一个 XRTable 了。一。
有什么建议吗?这是一个有标准答案的常见问题解答,还是一个有“我们厌倦了告诉人们这是不可能完成的”答案的常见问题解答?
I want to be able to go through all instances of a printed details subreport and do some formatting of records, in part by computing stuff for one record based on another one already printed. The code that prints reports is a bit of a mess, so I think this particular issue is easiest to handle by a kind of postprocessing of a printed report rather than by changing the underlying data binding etc code.
Well, frankly, I am unable to find a way even to get to the point where I could format text records in a single XRTable (XRTable.AfterPrint event does not work for me here) let alone format one XRTable based on values output in another one.
Any suggestions? Is this a FAQ with a standard answer or a FAQ with "we are tired of telling people it cannot be done" answer?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
没有这样的事件:(。我通过回答
DevExpress XtraReports 是否有一个易于理解的“当前详细报告正在打印”的概念?
问题。
There is no such event :(. A possible solution I've posted by answering
does DevExpress XtraReports have an easily accessible notion of “current detail report being printed”?
question.