New to Telerik UI for ASP.NET Core? Download free 30-day trial

FileManagerViewsGridSettingsColumnBuilder

Methods

Field(System.String)

The text that is displayed in the column header cell. If not set the field is used.

Parameters

value - System.String

The value that configures the width.

Example


                @(Html.Kendo().FileManager()
                    .Name("filemanager")
                    .Views(views => views
                        .Grid(grid => grid
                            .Columns(columns =>
                            {
                                columns.Add().Field("name");
                            })
                        )
                    )
                )

Encoded(System.Boolean)

If set to true the column value will be HTML-encoded before it is displayed. If set to false the column value will be displayed as is. By default the column value is HTML-encoded.

Parameters

value - System.Boolean

The value for Encoded

HeaderTemplate(System.String)

The template which renders the column header content. By default the value of the title column option is displayed in the column header cell.

Parameters

value - System.String

The value for HeaderTemplate

HeaderTemplateId(System.String)

The template which renders the column header content. By default the value of the title column option is displayed in the column header cell.

Parameters

templateId - System.String

The ID of the template element for HeaderTemplate

HeaderTemplateView(Microsoft.AspNetCore.Html.IHtmlContent)

The template which renders the column header content. By default the value of the title column option is displayed in the column header cell.

Parameters

templateView - Microsoft.AspNetCore.Html.IHtmlContent

The view that contains the template for HeaderTemplate

HeaderTemplateHandler(System.String)

The template which renders the column header content. By default the value of the title column option is displayed in the column header cell.

Parameters

templateHandler - System.String

The handler that returs the template for HeaderTemplate

HeaderTemplate(Kendo.Mvc.UI.TemplateBuilder)

The template which renders the column header content. By default the value of the title column option is displayed in the column header cell.

Parameters

template - TemplateBuilder<TModel>

A Template component that configures the headertemplate.

Sortable(System.Boolean)

If set to true the user can click the column header and sort the grid by the column field when sorting is enabled. If set to false sorting will be disabled for this column.

Parameters

value - System.Boolean

The value for Sortable

Template(System.String)

If set to true the user can click the column header and sort the grid by the column field when sorting is enabled. If set to false sorting will be disabled for this column.

Parameters

value - System.String

The value for Template

TemplateId(System.String)

If set to true the user can click the column header and sort the grid by the column field when sorting is enabled. If set to false sorting will be disabled for this column.

Parameters

templateId - System.String

The ID of the template element for Template

TemplateView(Microsoft.AspNetCore.Html.IHtmlContent)

If set to true the user can click the column header and sort the grid by the column field when sorting is enabled. If set to false sorting will be disabled for this column.

Parameters

templateView - Microsoft.AspNetCore.Html.IHtmlContent

The view that contains the template for Template

TemplateHandler(System.String)

If set to true the user can click the column header and sort the grid by the column field when sorting is enabled. If set to false sorting will be disabled for this column.

Parameters

templateHandler - System.String

The handler that returs the template for Template

Template(Kendo.Mvc.UI.TemplateBuilder)

If set to true the user can click the column header and sort the grid by the column field when sorting is enabled. If set to false sorting will be disabled for this column.

Parameters

template - TemplateBuilder<TModel>

A Template component that configures the template.

Title(System.String)

The text that is displayed in the column header cell. If not set the field is used.

Parameters

value - System.String

The value for Title

Width(System.Double)

The text that is displayed in the column header cell. If not set the field is used.

Parameters

value - System.Double

The value for Width

In this article
Not finding the help you need?