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

The base class for all columns in Kendo Gantt for ASP.NET MVC.

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Type Parameters:

TTaskModel

Syntax:

C#
public abstract class GanttColumnBase<TTaskModel> : JsonObject, IGanttColumn where TTaskModel : class, IGanttTask

Inheritance: objectJsonObjectGanttColumnBase<TTaskModel>

Derived Classes: GanttBoundColumn<TModel, TValue>GanttDraggableColumn<TModel>GanttGroupColumn<TModel>GanttResourceColumn<TModel>

Implements: IGanttColumn

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

Constructors

C#
protected GanttColumnBase()

Properties

If set to true, a drag handle will be rendered.

C#
public virtual bool? Draggable { get; set; }

Implements: IGanttColumn.Draggable

Gets or sets whether the column is editable

C#
public virtual bool? Editable { get; set; }
Property Value:

Whether the column is editable.

Implements: IGanttColumn.Editable

Gets or sets whether the column is editable

C#
public virtual ClientHandlerDescriptor Editor { get; set; }
Property Value:

Whether the column is editable.

Implements: IGanttColumn.Editor

C#
public string EditorHtml { get; set; }

If set to true, the column will show the icons that are used for expanding and collapsing child rows. By default, the "title" column of the Gantt is expandable.

C#
public virtual bool? Expandable { get; set; }

Implements: IGanttColumn.Expandable

If set to true and if filtering is enabled for the entire Gantt, a filter menu will be displayed for this column. 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 through the filterable option. Can be set to a JavaScript object which represents the filter menu configuration.

C#
public virtual GanttColumnFilterableSettings Filterable { get; set; }

Implements: IGanttColumn.Filterable

Gets or sets the format of the column.

C#
public string Format { get; set; }
Property Value:

The format.

Implements: IGanttColumn.Format

The HTML attributes of the table header cell (<th>) that is rendered for the column.

C#
public virtual IDictionary<string, object> HeaderAttributes { get; set; }

Implements: IGanttColumn.HeaderAttributes

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 virtual string HeaderTemplate { get; set; }

Implements: IGanttColumn.HeaderTemplate

C#
public virtual string HeaderTemplateHandler { get; set; }

Implements: IGanttColumn.HeaderTemplateHandler

The id for the HeaderTemplate

C#
public virtual string HeaderTemplateId { get; set; }

Implements: IGanttColumn.HeaderTemplateId

If set to true, the Gantt will not display the column. By default, all columns are displayed.

C#
public virtual bool? Hidden { get; set; }

Implements: IGanttColumn.Hidden

The HTML attributes of the table cell (<td>) that is rendered for the column.

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

Implements: IGanttColumn.HtmlAttributes

Gets or sets the member of the column.

C#
public string Member { get; set; }
Property Value:

The member.

Implements: IGanttColumn.Member

If set to true, the Gantt will display the column in the column menu. By default, the column menu includes all data-bound columns, that is, the ones with a set field option.

C#
public virtual bool? Menu { get; set; }

Implements: IGanttColumn.Menu

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

C#
public virtual double? MinScreenWidth { get; set; }

Implements: IGanttColumn.MinScreenWidth

Gets or sets whether the column is sortable

C#
public virtual GanttColumnSortableSettings Sortable { get; set; }
Property Value:

Whether the column is sortable.

Implements: IGanttColumn.Sortable

The template which renders the column content. The Gantt renders table rows (<tr>) which represent the data source items. Each table row consists of table cells (<td>) which represent the GanttList columns. By default, the HTML-encoded value of the field is displayed in the column.

C#
public virtual string Template { get; set; }

Implements: IGanttColumn.Template

C#
public virtual string TemplateHandler { get; set; }

Implements: IGanttColumn.TemplateHandler

The id for the Template

C#
public virtual string TemplateId { get; set; }

Implements: IGanttColumn.TemplateId

Gets or sets the title of the column.

C#
public virtual string Title { get; set; }
Property Value:

The title.

Implements: IGanttColumn.Title

Gets or sets the width of the column.

C#
public int? Width { get; set; }
Property Value:

The width.

Implements: IGanttColumn.Width

Methods

C#
protected override void Serialize(IDictionary<string, object> json)
Parameters:jsonIDictionary<string, object>

Overrides: JsonObject.Serialize(IDictionary<string, object>)