Kendo.Mvc.UI.Fluent.GanttColumnBuilder

Defines the fluent API for configuring GanttColumn

Methods

Format(System.String)

Gets or sets the format for displaying the data.

Parameters

value System.String

The value.

Example (ASPX)

<%= Html.Kendo().Gantt(Model)
    .Name("Gantt")
    .Columns(columns => columns.Bound(o => o.OrderDate).Format("{0:dd/MM/yyyy}"))
%>

Width(System.Double)

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

Parameters

value System.Double

The value for Width

Field(System.String)

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.

Parameters

value System.String

The value for Field

Title(System.String)

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

Parameters

value System.String

The value for Title

Width(System.String)

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

Parameters

value System.String

The value for Width

Editable(System.Boolean)

Specifies whether this column can be edited by the user.

Parameters

value System.Boolean

The value for Editable

Editable

Specifies whether this column can be edited by the user.

Sortable(System.Boolean)

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

Parameters

value System.Boolean

The value for Sortable

Sortable

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