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

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class GridColumnSettings

Inheritance: objectGridColumnSettings

Derived Classes: GridColumnSettings<T>GridCommandColumnSettings

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

Constructors

C#
public GridColumnSettings()

Properties

The template which renders the client footer content.

C#
public string ClientFooterTemplate { get; set; }
C#
public string ClientFooterTemplateHandler { get; set; }

The template which renders the client group footer content.

C#
public string ClientGroupFooterTemplate { get; set; }
C#
public string ClientGroupFooterTemplateHandler { get; set; }

The template which renders the column client group header content.

C#
public string ClientGroupHeaderColumnTemplate { get; set; }
C#
public string ClientGroupHeaderColumnTemplateHandler { get; set; }

The template which renders the client group header content.

C#
public string ClientGroupHeaderTemplate { get; set; }
C#
public string ClientGroupHeaderTemplateHandler { get; set; }

The template which renders the column client content.

C#
public string ClientTemplate { get; set; }
C#
public string ClientTemplateHandler { get; set; }
C#
public bool ColumnMenu { get; set; }

If set to true a draghandle will be rendered and the user could reorder the rows by dragging the row via the drag handle. If the selectable option is enabled for rows only selected rows will can be dragged and reordered.

C#
public bool Draggable { get; set; }

Specify the name of the used editor template.

C#
public string EditorTemplateName { get; set; }

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 bool Encoded { get; set; }

If set to true a filter menu will be displayed for this column when filtering is enabled. If set to false the filter menu will not be displayed. By default a filter menu is displayed for all columns when filtering is enabled via the filterable option.

C#
public bool Filterable { get; set; }

Specifies the role of the filter.

C#
public GridFilterUIRole FilterUIRole { get; set; }

Set the HTML attributes for the column footer.

C#
public IDictionary<string, object> FooterHtmlAttributes { get; }

The template which renders the column footer content.

C#
public Action<GridAggregateResult> FooterTemplate { get; set; }

The format that is applied to the value before it is displayed.

C#
public string Format { get; set; }

If set to false the user will not be able to group the grid by this column (requires Grid groupable property to be enabled). By default all columns are groupable.

C#
public bool Groupable { get; set; }

Set the HTML attributes for the column header.

C#
public IDictionary<string, object> HeaderHtmlAttributes { get; }

The template which renders the column header content.

C#
public string HeaderTemplate { get; set; }

If set to true the column will not be displayed in the grid. By default all columns are displayed.

C#
public bool Hidden { get; set; }

If set to true the column will be hidden when the grid is grouped via user interaction. The column will be displayed again if interaction to ungroup by it is performed.

C#
public bool HideOnGroup { get; set; }

Set the HTML attributes.

C#
public IDictionary<string, object> HtmlAttributes { get; }

Should be included in the menu.

C#
public bool IncludeInMenu { get; set; }

If set to false the column will remain in the side of the grid into which its own locked configuration placed it.

C#
public bool Lockable { get; set; }

If set to true the column will be displayed as locked (frozen) in the grid.

C#
public bool Locked { get; set; }

Sets the condition that needs to be satisfied for a column to remain visible.

C#
public string Media { get; set; }

Member value.

C#
public string Member { get; set; }

Member type.

C#
public Type MemberType { get; set; }

The pixel screen width below which the user will not be able to resize the column via the UI.

C#
public int MinResizableWidth { get; set; }

The pixel screen width below which the column will be hidden. The setting takes precedence over the hidden setting, so the two should not be used at the same time.

C#
public int MinScreenWidth { get; set; }

Specify if the column is read-only.

C#
public bool ReadOnly { get; set; }

If set to false the column will become non-resizable, while all the other columns remaining resizable in the grid component. In order for this property to work, grid's resizable property must be set to true

C#
public bool Resizable { get; set; }

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.

C#
public bool Sortable { get; set; }

If set to true the user will be able to stick or unstick the column from the column menu.

C#
public bool Stickable { get; set; }

If set to true the column will be displayed as sticky in the grid.

C#
public bool Sticky { get; set; }

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

C#
public string Title { get; set; }

If set to false the column will not be rendered. By default all columns are rendered and displayed.

C#
public bool Visible { get; set; }

Sets the width of the column.

C#
public string Width { get; set; }