When you export reportViewer to Excel format, it is very hard to manage/calculate the grouped row in excel especially when you want to add filter to each column. So, it would be better if you give your user a option to group/ungroup row.
This tutorial will provide you on how to programmatically group/ungroup row using ReportViewer parameter.
1In the "Row Groups" Click the arrow icon of the topmost row, and click "Group Properties".
2In Group Properties window, select "General" tap, and then click "Add" button to add the group condition, click the expression icon
3Paste the code
=RowNumber(Nothing)and click OK
No comments:
Post a Comment