hide columns dynamically in rdlc report

前端 未结 3 1150
孤城傲影
孤城傲影 2021-02-20 05:03

How we can hide columns dynamically in rdlc reports in MVC 2?

Is it is possible using external parameters? How we can programmatically control the visibility of columns

3条回答
  •  闹比i
    闹比i (楼主)
    2021-02-20 05:42

    Select a column. In properties you have Hidden. property. Then you can set a condition, for example =Parameters!IsColumnHidden.Value.

    If you want to do this from C# code I would send a parameter (like above) to the report saying if column should be hidden.

提交回复
热议问题