Class Column
- Namespace
- NuvTools.Report.Table.Models.Components
- Assembly
- NuvTools.Report.dll
Represents a column definition in a table, specifying how data should be displayed.
public class Column
- Inheritance
-
Column
- Inherited Members
Properties
Format
Gets or sets the format string for displaying values in this column.
public string? Format { get; set; }
Property Value
Remarks
Used for formatting dates, numbers, and other data types. Examples: "yyyy-MM-dd", "N2", "C".
Label
Gets or sets the display label shown in the column header.
public string? Label { get; set; }
Property Value
Remarks
This is the user-friendly text displayed in the table header, which can differ from the property Name.
Name
Gets or sets the property name to extract from source objects.
public string? Name { get; set; }
Property Value
Remarks
This name is used with reflection in Table.SetRows to read property values from objects. Must match the exact property name on the source object (case-sensitive).
Order
Gets or sets the display order/position of this column in the table.
public short Order { get; set; }
Property Value
Remarks
Lower values appear first (leftmost). Columns are sorted by this value when rendered.