Skip to content

ReportColumn class

namespace: Serenity.Reporting   assembly: Serenity.Net.Services

Information about a report column.

public class ReportColumn

Public Members

name description
ReportColumn() The default constructor.
DataType { get; set; } Gets or sets the data type of values for the column.
Decorator { get; set; } Gets or sets the decorator to use for the column.
Format { get; set; } Gets or sets the format string to use.
Kind { get; set; } Gets or sets the kind of the values of the column, e.g. money, which decides how they are formatted when the column has no Format.
Link { get; set; } Gets or sets the link of the values of the column, with the names of the properties of the row in braces, e.g. "~/Northwind/Customer#view/". Only a report that is shown on a page uses it.
Name { get; set; } Gets or sets the property name or field name of the column.
Title { get; set; } Gets or sets the title for the column.
Tone { get; set; } Gets or sets the name of the property of the row that holds the tone of the value, i.e. "ok", "warn", "danger", "info" or "muted", which shows the value as a badge. Only a report that is shown on a page uses it.
Total { get; set; } Gets or sets how the total of the column is computed.
Width { get; set; } Gets or sets the preferred width of the column.
WrapText { get; set; } Gets or sets a value indicating whether the text should be wrapped.

See Also