GanttBuilder<T>.Columns(Action<CollectionFactory<GanttColumnBuilder<T>>>) Method
In This Article
An array of columns in the Gantt. Mirrors the client-side columns option.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
#Declaration
C#
public GanttBuilder<T> Columns(
Action<CollectionFactory<GanttColumnBuilder<T>>> configurator
)
#Parameters
Name | Type | Description |
---|---|---|
configurator | Action<Collection |
A function that allows you to specify nested options. |
#Returns
Type | Description |
---|---|
Gantt |
A reference to the Gantt object. |
#Remarks
@(Html.DevExtreme().Gantt()
.Columns(cl => {
cl.Add();
cl.Add().Columns(subColumns => {
subColumns.Add();
)}
//...
})
//...
)
See Also