Kendo.Mvc.UI.Fluent.GridColumnBuilder
Defines the fluent interface for configuring columns.
Methods
FooterHtmlAttributes(System.Object)
Sets the HTML attributes applied to the footer cell of the column.
Parameters
attributes System.Object
The attributes.
Example (ASPX)
<%= Html.Kendo().Grid(Model)
.Name("Grid")
.Columns(columns => columns.Bound(o => o.OrderID).FooterHtmlAttributes(new {@class="order-footer"}))
%>
FooterHtmlAttributes(System.Collections.Generic.IDictionary<System.String,System.Object>)
Sets the HTML attributes applied to the footer cell of the column.
Parameters
attributes System.Collections.Generic.IDictionary<System.String,System.Object>
The attributes.
Example (ASPX)
<%= Html.Kendo().Grid(Model)
.Name("Grid")
.Columns(columns => columns.Bound(o => o.OrderID).FooterHtmlAttributes(new {@class="order-footer"}))
%>
IncludeInMenu(System.Boolean)
Specifys whether the columns should be included in column header menu. By default all columns are included. The column also need to have a Title set in order to be included in the menu.
Example (ASPX)
<%= Html.Kendo().Grid(Model)
.Name("Grid")
.Columns(columns => columns.Bound(o => o.OrderID).IncludeInMenu((bool)ViewData["hidden"]))
%>
FooterTemplate(System.Action)
Sets the footer template for the column.
Parameters
template System.Action
The action defining the template.
FooterTemplate(System.String)
Sets the footer template for the column.
Parameters
template System.String
The string defining the template.
FooterTemplate(System.Func<System.Object,System.Object>)
Sets the footer template for the column.
Parameters
template System.Func<System.Object,System.Object>
The action defining the template.
ClientGroupFooterTemplate(System.String)
Sets the client group footer template for the column.
Parameters
template System.String
The template