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.

RETURNS

Returns the current FileManagerViewsGridSettingsColumnBuilder instance.

Example

Razor
 
                @(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

RETURNS

Returns the current FileManagerViewsGridSettingsColumnBuilder instance.

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

RETURNS

Returns the current FileManagerViewsGridSettingsColumnBuilder instance.

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

RETURNS

Returns the current FileManagerViewsGridSettingsColumnBuilder instance.

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

RETURNS

Returns the current FileManagerViewsGridSettingsColumnBuilder instance.

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

RETURNS

Returns the current FileManagerViewsGridSettingsColumnBuilder instance.

HeaderTemplate(Kendo.Mvc.UI.Fluent.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.

RETURNS

Returns the current FileManagerViewsGridSettingsColumnBuilder instance.

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

RETURNS

Returns the current FileManagerViewsGridSettingsColumnBuilder instance.

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

RETURNS

Returns the current FileManagerViewsGridSettingsColumnBuilder instance.

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

RETURNS

Returns the current FileManagerViewsGridSettingsColumnBuilder instance.

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

RETURNS

Returns the current FileManagerViewsGridSettingsColumnBuilder instance.

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

RETURNS

Returns the current FileManagerViewsGridSettingsColumnBuilder instance.

Template(Kendo.Mvc.UI.Fluent.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.

RETURNS

Returns the current FileManagerViewsGridSettingsColumnBuilder instance.

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

RETURNS

Returns the current FileManagerViewsGridSettingsColumnBuilder instance.

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

RETURNS

Returns the current FileManagerViewsGridSettingsColumnBuilder instance.