Kendo UI GanttColumn class
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Type Parameters:
TTaskModel
TDependenciesModel
Syntax:
public class GanttColumn<TTaskModel, TDependenciesModel> where TTaskModel : class, IGanttTask where TDependenciesModel : class, IGanttDependency
Inheritance: objectGanttColumn<TTaskModel, TDependenciesModel>
Derived Classes:
Inherited Members
Constructors
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.
public bool? Draggable { get; set; }
Specifies whether this column can be edited by the user.
public bool? Editable { get; set; }
Gets or sets the column editor
public ClientHandlerDescriptor Editor { get; set; }
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.
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.
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.
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.
public string Format { get; set; }
Gantt member.
public Gantt<TTaskModel, TDependenciesModel> Gantt { get; set; }
The HTML attributes of the table header cell (<th>) that is rendered for the column.
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.
public string HeaderTemplate { get; set; }
HeaderTemplateHandler member.
public string HeaderTemplateHandler { get; set; }
The id of the script element used for HeaderTemplate
public string HeaderTemplateId { get; set; }
If set to true, the Gantt will not display the column. By default, all columns are displayed.
public bool? Hidden { get; set; }
The HTML attributes of the table cell (<td>) that is rendered for the column.
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.
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.
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.
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.
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.
public string TemplateHandler { get; set; }
The id of the script element used for Template
public string TemplateId { get; set; }
The text that is displayed in the column header cell. If not set the field is used.
public string Title { get; set; }
Methods
Serialize method.
Serialize current instance to Dictionary
protected virtual Dictionary<string, object> SerializeSettings()