Kendo.Mvc.UI.GanttColumn

Kendo UI GanttColumn class

Properties

Editor

Gets or sets the column editor

HeaderTemplate

The template which renders the column header content. By default, the value of the title column option is displayed in the column header cell.

HeaderTemplateId

The id of the script element used for HeaderTemplate

Sortable

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

Template

The template which renders the column content. The Gantt renders table rows (

) which represent the data source items. Each table row consists of table cells () which represent the GanttList columns. By default, the HTML-encoded value of the field is displayed in the column.

TemplateId

The id of the script element used for Template

HtmlAttributes

The HTML attributes of the table cell (

) that is rendered for the column.

Editable

Specifies whether this column can be edited by the user.

Expandable

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.

Field

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.

Filterable

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.

Format

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.

HeaderAttributes

The HTML attributes of the table header cell (

) that is rendered for the column.

Hidden

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

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.

MinScreenWidth

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.

Title

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

Width

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

Methods

SerializeSettings

Serialize current instance to Dictionary

In this article
Not finding the help you need?