Recent question that popped up from an user was how to create a table, where the table grows horizontally instead of vertically. This is easy as one, two, three when using our Table report item.
I start off using the crosstab item as initial template for this task. As the table would be growing "in columns" instead of "in rows", we do not need a row group so we delete it. Then bind the crosstab to a sample business object making sure we've added as many static rows as we need. Next step in order to show all the data, we need to make sure that the column group has an empty string as grouping criteria i.e. it becomes details group. Just to be clear, depending on the grouping criteria, we have:
More information on the Table/CrossTab can be found in our documentation here.
And here is the final result:
I've attached a short video of the horizontal table creation process, as well as with the final report.
[HorizontalTableReport.zip] [HorizontalTableVideo.zip]
Enjoy!
Stefan’s main interests outside the .NET domain include rock music, playing the guitar and swimming.