In-Table List with Filtering Grouping and Ordering in HTML Document
Leave feedback
NoteIn this article, we will use GroupDocs.Assembly to generate an In-Table Master-Detail report in HTML Document format.
NoteThe code uses some of the objects defined in The Business Layer.
NoteThis feature is supported by version 17.3.0 or greater
As a report developer, you are required to represent customers’ orders information with the following key requirements:
- Report must show each customer along with sum of prices of his orders.
- It must represent all the information in tabular form.
- Report must be generated in the Presentation Document.
Customer | Order Price |
<<foreach [in orders .Where(c => c.OrderDate.Year == 2015) .GroupBy(c => c.Customer) .OrderBy(g => g.Key.CustomerName)]>><<[Key.CustomerName]>> | <<[Sum(c => c.Price)]>><</foreach>> |
TipFor detailed technical information about syntax, expressions and report generation by the engine, please visit: Working with GroupDocs.Assembly Engine.
Please download the sample document we created in this article:
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.