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

Kendo UI GanttColumn class

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Type Parameters:

TTaskModel

TDependenciesModel

Syntax:

C#
public class GanttColumn<TTaskModel, TDependenciesModel> where TTaskModel : class, IGanttTask where TDependenciesModel : class, IGanttDependency

Inheritance: objectGanttColumn<TTaskModel, TDependenciesModel>

Derived Classes: GanttBoundColumn<TTaskModel, TDependenciesModel, TValue>GanttDraggableColumn<TTaskModel, TDependenciesModel>GanttGroupColumn<TTaskModel, TDependenciesModel>GanttResourceColumn<TTaskModel, TDependenciesModel>

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

Constructors

C#
public GanttColumn()

Properties

If set to true a draghandle will be rendered and the user could reorder the rows by dragging the row via the drag handle.

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

Specifies whether this column can be edited by the user.

C#
public bool? Editable { get; set; }

Gets or sets the column editor

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

The editor handler.

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

The field to which the column is bound. The value of this field is displayed by the column during data binding. The field name should be a valid Javascript identifier and should contain only alphanumeric characters (or "$" or "_"), and may not start with a digit.

C#
public string Field { get; set; }

Filterable

GanttColumnFilterableSettings<TTaskModel, TDependenciesModel>

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 GanttColumnFilterableSettings<TTaskModel, TDependenciesModel> Filterable { get; }

The format that is applied to the value before it is displayed. Takes the form "{0:format}" where "format" is a standard number format,custom number format, standard date format or a custom date format.

C#
public string Format { get; set; }

Gantt

Gantt<TTaskModel, TDependenciesModel>

Gantt member.

C#
public Gantt<TTaskModel, TDependenciesModel> Gantt { get; set; }

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

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

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

HeaderTemplateHandler member.

C#
public string HeaderTemplateHandler { get; set; }

The id of the script element used for HeaderTemplate

C#
public string HeaderTemplateId { get; set; }

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

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

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

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

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

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 double? MinScreenWidth { get; set; }

If set to true the user could sort this column by clicking its header cells. By default sorting is disabled.

C#
public GanttColumnSortableSettings Sortable { get; set; }

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

The template handler 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 string TemplateHandler { get; set; }

The id of the script element used for Template

C#
public string TemplateId { 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; }

The width of the column. Numeric values are treated as pixels.

C#
public string Width { get; set; }

Methods

Serialize method.

C#
public virtual Dictionary<string, object> Serialize()
Returns:

Dictionary<string, object>

Serialize current instance to Dictionary

C#
protected virtual Dictionary<string, object> SerializeSettings()
Returns:

Dictionary<string, object>