Class GridColumn
Defines a data bound column in the grid that can show all types of data.
Inherited Members
Namespace: Telerik.Blazor.Components
Assembly: Telerik.Blazor.dll
Syntax
public class GridColumn : BoundColumnBase, IDisposable, IGridBoundColumn, IBoundColumn, IColumn, IGridColumnMenuColumn, IGridDataColumn, IDataColumn<GridCellRenderEventArgs>
Constructors
GridColumn()
Declaration
public GridColumn()
Properties
Groupable
Specifies if the grid can be grouped by this column.
Declaration
public bool Groupable { get; set; }
Property Value
System.Boolean
|
Implements
GroupFooterTemplate
GroupHeaderTemplate
Represents the column group header template, where you can access and print out column aggregate values. The template is used when the Grid is grouped by the column. If no template is specified, the name of the Field and the current group value is displayed. You can render custom components and apply logic in it.
Declaration
public RenderFragment<GridGroupHeaderTemplateContext> GroupHeaderTemplate { get; set; }
Property Value
Microsoft.AspNetCore.Components.RenderFragment<GridGroupHeaderTemplateContext>
|
Implements
Lockable
Specifies if the column can be locked from the UI.
Declaration
public bool Lockable { get; set; }
Property Value
System.Boolean
|
OnCellRender
Called each time a cell is rendered. Use this to add custom classes to the cell based on its value.
Declaration
public Action<GridCellRenderEventArgs> OnCellRender { get; set; }
Property Value
System.Action<GridCellRenderEventArgs>
|
ShowColumnChooser
Specifies if the column chooser is displayed in the column menu.
Declaration
public bool ShowColumnChooser { get; set; }
Property Value
System.Boolean
|
ShowColumnMenu
Specifies if a column menu should be shown for the column.
Declaration
public bool ShowColumnMenu { get; set; }
Property Value
System.Boolean
|
VisibleInColumnChooser
Specifies if the column is visible in the column chooser.
Declaration
public bool VisibleInColumnChooser { get; set; }
Property Value
System.Boolean
|