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

GridForeignKeyColumn

Properties

Data - SelectList

DataValueField - String

DataTextField - String

DataSource - DataSource

The number of available pages.

UseServerEditor - Boolean

SerializeSelectList - Action

MemberType - Type

Groupable - Boolean

GroupableSettings - GridBoundColumnGroupableSettings

AdditionalViewData - Object

Metadata - ModelMetadata

EditorTemplateName - String

Editable - ClientHandlerDescriptor

A Razor template delegate.

ClientGroupHeaderTemplate - String

ClientGroupHeaderTemplateHandler - String

ClientGroupHeaderColumnTemplate - String

ClientGroupHeaderColumnTemplateHandler - String

Value - Func

Expression - Expression

Sortable - Boolean

Filterable - Boolean

FilterableSettings - GridBoundColumnFilterableSettings

The UI filter role.

SortableSettings - GridBoundColumnSortableSettings

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. By default all columns are sortable if sorting is enabled via the sortable option.

HideOnGroup - Boolean

HasHandlerEditor - Boolean

ColumnAggregates - String[]

SortDirection - Nullable

SortIndex - Int32

GroupFooterTemplate - HtmlTemplate

GroupHeaderTemplate - HtmlTemplate

GroupHeaderColumnTemplate - HtmlTemplate

Format - String

EditorHtml - String

Grid - Grid

Gets the selection configuration

Member - String

Template - Action

Exportable - GridColumnExportableSettings

If set to false the column will be excluded from the exported Excel/PDF files.

ShouldEncodeHtmlAttributes - Boolean

ShouldEncodeFooterHtmlAttributes - Boolean

ShouldEncodeHeaderHtmlAttributes - Boolean

HeaderTemplate - HtmlTemplate

FooterTemplate - HtmlTemplate

InlineTemplate - Func

Title - String

Width - String

Media - String

MinScreenWidth - Int32

MinResizableWidth - Int32

ClientTemplate - String

ClientTemplateHandler - String

ClientFooterTemplate - String

ClientFooterTemplateHandler - String

ClientGroupFooterTemplate - String

ClientGroupFooterTemplateHandler - String

Hidden - Boolean

Draggable - Boolean

IncludeInMenu - Boolean

Locked - Boolean

Lockable - Boolean

Sticky - Boolean

Stickable - Boolean

ColumnMenu - Boolean

Encoded - Boolean

Resizable - Boolean

HeaderHtmlAttributes - IDictionary

FooterHtmlAttributes - IDictionary

Visible - Boolean

HtmlAttributes - IDictionary

HtmlAttributesHandler - String

IsLast - Boolean

Methods

GetEditor()

GetSortUrl()

CreateGroupHeaderColumnBuilder(System.Collections.Generic.IEnumerable)

Parameters

aggregateResults - System.Collections.Generic.IEnumerable<AggregateResult>

CreateDisplayBuilder(Kendo.Mvc.UI.Html.IGridHtmlHelper)

Creates the Display Builder.

Parameters

htmlHelper - Kendo.Mvc.UI.Html.IGridHtmlHelper

CreateEditBuilder(Kendo.Mvc.UI.Html.IGridHtmlHelper)

Creates the Edit Builder.

Parameters

htmlHelper - Kendo.Mvc.UI.Html.IGridHtmlHelper

CreateInsertBuilder(Kendo.Mvc.UI.Html.IGridHtmlHelper)

Creates the Insert Builder.

Parameters

htmlHelper - Kendo.Mvc.UI.Html.IGridHtmlHelper

CreateHeaderBuilder()

Creates the Header Builder.

CreateFooterBuilder(System.Collections.Generic.IEnumerable)

Creates the Footer Builder.

Parameters

aggregateResults - System.Collections.Generic.IEnumerable<AggregateResult>

CreateGroupFooterBuilder(System.Collections.Generic.IEnumerable)

Creates the Group Footer Builder.

Parameters

aggregateResults - System.Collections.Generic.IEnumerable<AggregateResult>

ToJson()

In this article
Not finding the help you need?