New to Telerik UI for BlazorStart a free 30-day trial

Represents an excel exportable column.

Definition

Namespace:Telerik.Blazor.Components.Grid

Assembly:Telerik.Blazor.dll

Syntax:

C#
public class GridExcelExportColumn : GridSpreadsheetExportColumn

Inheritance: objectGridSpreadsheetExportColumnGridExcelExportColumn

Inherited Members GridSpreadsheetExportColumn.TitleGridSpreadsheetExportColumn.Field

Constructors

C#
public GridExcelExportColumn()

Properties

Applies Excel-compatible number formatting to column values in the export. Use Excel number format codes, not .NET format strings. Examples: "0.00" for decimals, "#,##0" for thousands separator, "mm/dd/yyyy" for dates.

C#
public string NumberFormat { get; set; }

Sets the column width in the exported Excel file. Use pixel values (e.g., "100px") to control how wide the column appears in Excel.

C#
public string Width { get; set; }