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

Defines the fluent API for configuring the FileManagerViewsGridSettingsColumn settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class FileManagerViewsGridSettingsColumnBuilder

Inheritance: objectFileManagerViewsGridSettingsColumnBuilder

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

C#
public FileManagerViewsGridSettingsColumnBuilder(FileManagerViewsGridSettingsColumn settings)
Parameters:settingsFileManagerViewsGridSettingsColumn

The FileManagerViewsGridSettingsColumn

Methods

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.

C#
public FileManagerViewsGridSettingsColumnBuilder Encoded(bool value)
Parameters:valuebool

The value that configures the encoded.

Returns:

FileManagerViewsGridSettingsColumnBuilder

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

C#
public FileManagerViewsGridSettingsColumnBuilder Field(string value)
Parameters:valuestring

The value that configures the width.

Returns:

FileManagerViewsGridSettingsColumnBuilder

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

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

C#
public FileManagerViewsGridSettingsColumnBuilder HeaderTemplate(string value)
Parameters:valuestring

The value that configures the headertemplate.

Returns:

FileManagerViewsGridSettingsColumnBuilder

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

C#
public FileManagerViewsGridSettingsColumnBuilder HeaderTemplate<TModel>(TemplateBuilder<TModel> template)
Parameters:templateTemplateBuilder<TModel>

A Template component that configures the headertemplate.

Returns:

FileManagerViewsGridSettingsColumnBuilder

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

C#
public FileManagerViewsGridSettingsColumnBuilder HeaderTemplateHandler(string value)
Parameters:valuestring

The value that configures the headertemplate.

Returns:

FileManagerViewsGridSettingsColumnBuilder

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

C#
public FileManagerViewsGridSettingsColumnBuilder HeaderTemplateId(string value)
Parameters:valuestring

The value that configures the headertemplate.

Returns:

FileManagerViewsGridSettingsColumnBuilder

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

C#
public FileManagerViewsGridSettingsColumnBuilder HeaderTemplateView(MvcHtmlString value)
Parameters:valueMvcHtmlString

The value that configures the headertemplate.

Returns:

FileManagerViewsGridSettingsColumnBuilder

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.

C#
public FileManagerViewsGridSettingsColumnBuilder Sortable(bool value)
Parameters:valuebool

The value that configures the sortable.

Returns:

FileManagerViewsGridSettingsColumnBuilder

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.

C#
public FileManagerViewsGridSettingsColumnBuilder Template(string value)
Parameters:valuestring

The value that configures the template.

Returns:

FileManagerViewsGridSettingsColumnBuilder

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.

C#
public FileManagerViewsGridSettingsColumnBuilder Template<TModel>(TemplateBuilder<TModel> template)
Parameters:templateTemplateBuilder<TModel>

A Template component that configures the template.

Returns:

FileManagerViewsGridSettingsColumnBuilder

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.

C#
public FileManagerViewsGridSettingsColumnBuilder TemplateHandler(string value)
Parameters:valuestring

The value that configures the template.

Returns:

FileManagerViewsGridSettingsColumnBuilder

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.

C#
public FileManagerViewsGridSettingsColumnBuilder TemplateId(string value)
Parameters:valuestring

The value that configures the template.

Returns:

FileManagerViewsGridSettingsColumnBuilder

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.

C#
public FileManagerViewsGridSettingsColumnBuilder TemplateView(MvcHtmlString value)
Parameters:valueMvcHtmlString

The value that configures the template.

Returns:

FileManagerViewsGridSettingsColumnBuilder

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

C#
public FileManagerViewsGridSettingsColumnBuilder Title(string value)
Parameters:valuestring

The value that configures the title.

Returns:

FileManagerViewsGridSettingsColumnBuilder

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

C#
public FileManagerViewsGridSettingsColumnBuilder Width(double value)
Parameters:valuedouble

The value that configures the width.

Returns:

FileManagerViewsGridSettingsColumnBuilder