New to Telerik UI for Blazor? Start a free 30-day trial

Column configuration for a Grid component.

Schema: src/common/models/grid.schema.json#/$defs/GridColumnConfig

Definition

Namespace:Telerik.Blazor.Components.DatAInsightsComposer

Assembly:Telerik.Blazor.DatAInsightsComposer.dll

Syntax:

C#
public class GridColumnConfig

Inheritance: objectGridColumnConfig

Constructors

C#
public GridColumnConfig()

Properties

The data field name.

C#
public string Field { get; set; }

The column header title.

C#
public string Title { get; set; }

Column width as a CSS size (e.g. "200px"). Set only if the user explicitly asks for a width for this column; otherwise leave null (the renderer applies a 150px default).

C#
public string? Width { get; set; }