TaskBoardColumnSettingsSettingsBuilder

Methods

Buttons(System.Action)

Defines the list of buttons rendered in the column.

Parameters

configurator - System.Action<TaskBoardColumnSettingsSettingsButtonFactory>

The action that configures the buttons.

Example

Razor
 
            @(Html.Kendo().TaskBoard()
                    .Name("taskBoard")
                    .ColumnSettings(c => c.Buttons(b => b.Add().Name("addCard")))
            )
             

DataStatusField(System.String)

The field of the data item that provides the status of the column. Mapped with the status of the cards.

Parameters

value - System.String

The value that configures the datastatusfield.

Example

Razor
 
            @(Html.Kendo().TaskBoard()
                    .Name("taskBoard")
                    .ColumnSettings(c => c.DataStatusField("Status"))
            )
             

DataTextField(System.String)

The text field of the column.

Parameters

value - System.String

The value that configures the datatextfield.

Example

Razor
 
            @(Html.Kendo().TaskBoard()
                    .Name("taskBoard")
                    .ColumnSettings(c => c.DataTextField("Description"))
            )
             

DataOrderField(System.String)

The field used to order columns (number based). Automatically adds sorting to the columns DataSource instance.If not set, columns will be rendered in the order they are fetched. And ordering will not be applied to the DataSource and respectively, not synced with the remote data source.

Parameters

value - System.String

The value that configures the dataorderfield.

Example

Razor
 
            @(Html.Kendo().TaskBoard()
                    .Name("taskBoard")
                    .ColumnSettings(c => c.DataOrderField("Order"))
            )
             

Width(System.String)

Configures the width of the columns

Parameters

value - System.String

The value that configures the width.

Example

Razor
 
            @(Html.Kendo().TaskBoard()
                    .Name("taskBoard")
                    .ColumnSettings(c => c.Width("700px"))
            )
             

Template(System.String)

Controls the rendering of the column header. In the template context the buttons field provides the HTML for the buttons of the column.

Parameters

value - System.String

The value that configures the template.

Example

Razor
 
            @(Html.Kendo().TaskBoard()
                    .Name("taskBoard")
                    .ColumnSettings(c => c.Template("template"))
            )
             

TemplateId(System.String)

Controls the rendering of the column header. In the template context the buttons field provides the HTML for the buttons of the column.

Parameters

value - System.String

The value that configures the template.

Example

Razor
 
            @(Html.Kendo().TaskBoard()
                    .Name("taskBoard")
                    .ColumnSettings(c => c.TemplateId("templateId"))
            )
             

TemplateView(System.Web.Mvc.MvcHtmlString)

Controls the rendering of the column header. In the template context the buttons field provides the HTML for the buttons of the column.

Parameters

value - System.Web.Mvc.MvcHtmlString

The value that configures the template.

Example

Razor
 
            @(Html.Kendo().TaskBoard()
                    .Name("taskBoard")
                    .ColumnSettings(c => c.TemplateView(new System.Web.Mvc.MvcHtmlString("<div>#= ColumnName #</div>")))
            )
             

TemplateHandler(System.String)

Controls the rendering of the column header. In the template context the buttons field provides the HTML for the buttons of the column.

Parameters

value - System.String

The value that configures the template.

Example

Razor
 
            @(Html.Kendo().TaskBoard()
                    .Name("taskBoard")
                    .ColumnSettings(c => c.TemplateHandler("handlerName"))
            )
             

Template(Kendo.Mvc.UI.Fluent.TemplateBuilder)

Controls the rendering of the column header. In the template context the buttons field provides the HTML for the buttons of the column.

Parameters

template - TemplateBuilder<TModel>

A Template component that configures the template.

Example

Razor
 
            @(Html.Kendo().TaskBoard()
                    .Name("taskBoard")
                     .ColumnSettings(c => c.Template(Html.Kendo().Template().AddComponent(a => a.TextBox())))
            )