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

FileManagerViewsGridSettingsColumnBuilder

Methods

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 that configures the 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 that configures the 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

value - System.String

The value that configures the headertemplate.

HeaderTemplateView(System.Web.Mvc.MvcHtmlString)

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.Web.Mvc.MvcHtmlString

The value that configures the 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

value - System.String

The value that configures the 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 that configures the 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 that configures the 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

value - System.String

The value that configures the template.

TemplateView(System.Web.Mvc.MvcHtmlString)

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.Web.Mvc.MvcHtmlString

The value that configures the 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

value - System.String

The value that configures the 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 that configures the 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 that configures the width.

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");
                            })
                        )
                    )
                )

In this article
Not finding the help you need?