StructuredTable class
namespace: Serenity.Reporting assembly: Serenity.Net.Services
A table of a StructuredReportResult.
public class StructuredTable
Public Members
| name | description |
|---|---|
| StructuredTable() | The default constructor. |
| Columns { get; set; } | The columns of the table. ObjectTypeToList can create them from the type of its rows. |
| Key { get; set; } | The key of the table, which should be unique in its result. |
| Rows { get; set; } | The rows of the table, e.g. objects, entity rows or dictionaries, which have a value for the name of each column. |
| Title { get; set; } | The title of the table, e.g. the name of its sheet in an Excel export. |
| Totals { get; set; } | The totals of the columns by their names, which are used instead of the ones Total computes, e.g. for a column whose total is a ratio of the totals of two others, like an average order value. |
See Also
- Source: StructuredTable.cs