在Crystal报表中隐藏行 [英] hide row in Crystal report
本文介绍了在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
推荐答案
我认为更好的选择是在DataTable
说HideRow
中包含一个字段,并在DataGridView
中显示一个带有HideRow
字段的CheckBoxColumn
.用户选择所有要隐藏的行后,可以过滤DataTable
的DataView
以隐藏所选的行,并可以将其用于生成报告.
I think the better option would be to include a field in theDataTable
sayHideRow
and display data in aDataGridView
with aCheckBoxColumn
forHideRow
field. After user selects all the rows to be hidden, theDataView
of theDataTable
can be filtered to hide the selected rows and it can be used to generate the report.
这篇关于在Crystal报表中隐藏行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文