在Crystal报表中隐藏行 [英] hide row in Crystal report

查看:55
本文介绍了在Crystal报表中隐藏行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道我是否可以在运行时从报表中隐藏行

例如:如果用户单击此链接,我将添加colmn包含链接,此行将隐藏

我可以这样做还是不可以

在此先感谢

i want to know if i can hide row from report at run time

for example : i will add colmn contain links if the user click on this link this row will hide

can i do this or not

thanks in advance

推荐答案

我认为更好的选择是在DataTableHideRow中包含一个字段,并在DataGridView中显示一个带有HideRow字段的CheckBoxColumn.用户选择所有要隐藏的行后,可以过滤DataTableDataView以隐藏所选的行,并可以将其用于生成报告.
I think the better option would be to include a field in the DataTable say HideRow and display data in a DataGridView with a CheckBoxColumn for HideRow field. After user selects all the rows to be hidden, the DataView of the DataTable can be filtered to hide the selected rows and it can be used to generate the report.


这篇关于在Crystal报表中隐藏行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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