Monday, February 8, 2016

Group Row in ReportViewer

Step by step setting report viewer to group table row.
There are so many times that your report have the same content to the previous row, which is very hard to read. To make your report cleaner and easier to read, the ReportViewer provide the ability to group row like this


To group row, follow this steps

1Click on row on the table in RDLC, and on "Row Groups":"(Details)" section in the bottom, click chevron symbol and select “Add group” => “Add Parent group”

2Select column you want to group, and click OK

3The "Row Groups" will display group column like this

4To group more column, you have to click on (Details) section (the section will be nested under group you create in step 3) and click “Add Group” => “Parent Group”

5To group more columns, repeat step 4 again and again. You will notice that “(Details)” section will nested under group you created like this

Then try run your application to see the result.



Happy Coding!

No comments:

Post a Comment