New to Telerik UI for ASP.NET Core? Download free 30-day trial

Kendo.Mvc.UI.Fluent.TaskBoardBuilder

Defines the fluent API for configuring the Kendo UI TaskBoard

Methods

BindTo(System.Collections.Generic.IEnumerable<T>)

Binds the TaskBoard Cards to a list of objects

Parameters

dataSource System.Collections.Generic.IEnumerable<T>

The data source.

Example (Razor)

@model IEnumerable<Card>
@(Html.Kendo().TaskBoard<Card>()
    .Name("taskBoard")
    .BindTo(Model)
)

BindTo(System.Collections.IEnumerable)

Binds the TaskBoard Cards to a list of objects

Parameters

dataSource System.Collections.IEnumerable

The data source.

Example (Razor)

@model IEnumerable<Card>
@(Html.Kendo().TaskBoard()
    .Name("taskBoard")
    .BindTo(Model)
)

DataSource(System.Action<Kendo.Mvc.UI.Fluent.DataSourceBuilder<T>>)

Sets the data source configuration of the TaskBoard.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.DataSourceBuilder>

The lambda which configures the data source

Example (Razor)

@(Html.Kendo().TaskBoard<Product>()
    .Name("TaskBoard")
    .DataSource(dataSource =>
        // configure the data source
        dataSource
        .Ajax()
        .Read(read => read.Action("Products_Read", "Home"))
    )
)

DataSource(System.String)

Sets the ID of the DataSource widget used by the TaskBoard.

Parameters

dataSourceId System.String

The name of the DataSource

Example (Razor)

@(Html.Kendo().TaskBoard<Product>()
    .Name("TaskBoard")
    .DataSource("dataSource1")
)
@(Html.Kendo().DataSource<Product>()
    .Name("dataSource1")
    .Ajax(ds=>ds
        .Read(read => read.Action("Products_Read", "Home"))
        .PageSize(20)
    )
)

Columns(System.Action<Kendo.Mvc.UI.Fluent.DataSourceBuilder<T>>)

Sets the data source configuration of the TaskBoard's Columns.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.DataSourceBuilder>

The lambda which configures the data source

Example (Razor)

@(Html.Kendo().TaskBoard<Product>()
    .Name("TaskBoard")
    .Columns(dataSource =>
        // configure the data source
        dataSource
        .Ajax()
        .Read(read => read.Action("Products_Read", "Home"))
    )
)

ColumnsId(System.String)

Sets the ID of the DataSource widget used by the TaskBoard Columns.

Parameters

dataSourceId System.String

The name of the DataSource

Example (Razor)

@(Html.Kendo().TaskBoard<Product>()
    .Name("TaskBoard")
    .Columns("dataSource1")
)
@(Html.Kendo().DataSource<Product>()
    .Name("dataSource1")
    .Ajax(ds=>ds
        .Read(read => read.Action("Products_Read", "Home"))
        .PageSize(20)
    )
)

Columns(System.Action<Kendo.Mvc.UI.Fluent.TaskBoardColumnsBuilder>)

Uses predifined Model to configure the columns.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.TaskBoardColumnsBuilder>

The lambda which configures the columns

Example (Razor)

@(Html.Kendo().TaskBoard<Product>()
    .Name("TaskBoard")
    .Columns(columns =>
    {
        columns.Add().Text(quot;Text").Status(quot;Sttus")
    })
)

AutoBind(System.Boolean)

Controls whether to bind the TaskBoard to the data source on initialization.

Parameters

value System.Boolean

The value for AutoBind

CardMenu(System.Action<Kendo.Mvc.UI.Fluent.TaskBoardCardMenuFactory<T,T>>)

Defines the list of buttons rendered in the card.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.TaskBoardCardMenuFactory>

The configurator for the cardmenu setting.

ColumnSettings(System.Action<Kendo.Mvc.UI.Fluent.TaskBoardColumnSettingsSettingsBuilder<T,T>>)

Defines the settings for the columns.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.TaskBoardColumnSettingsSettingsBuilder>

The configurator for the columnsettings setting.

DataOrderField(System.String)

The field used to order cards (number based). If not set, cards 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 for DataOrderField

DataCategoryField(System.String)

The category field of the card.

Parameters

value System.String

The value for DataCategoryField

DataDescriptionField(System.String)

The description field of the card.

Parameters

value System.String

The value for DataDescriptionField

DataStatusField(System.String)

The field of the data item that provides the status of the card. Mapped with the status of the columns.

Parameters

value System.String

The value for DataStatusField

DataTitleField(System.String)

The title field of the card.

Parameters

value System.String

The value for DataTitleField

Editable(System.Action<Kendo.Mvc.UI.Fluent.TaskBoardEditableSettingsBuilder<T,T>>)

Toggles the editing in the TaskBoard. Both for columns and cards.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.TaskBoardEditableSettingsBuilder>

The configurator for the editable setting.

Editable(System.Boolean)

Toggles the editing in the TaskBoard. Both for columns and cards.

Parameters

enabled System.Boolean

Enables or disables the editable option.

Height(System.String)

Configures the height of the TaskBoard wrapper.

Parameters

value System.String

The value for Height

PreviewPane(System.Action<Kendo.Mvc.UI.Fluent.TaskBoardPreviewPaneSettingsBuilder<T,T>>)

Toggles the previewPane in the TaskBoard.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.TaskBoardPreviewPaneSettingsBuilder>

The configurator for the previewpane setting.

PreviewPane(System.Boolean)

Toggles the previewPane in the TaskBoard.

Parameters

enabled System.Boolean

Enables or disables the previewpane option.

Reorderable(System.Boolean)

Toggles the reordering of cards in the TaskBoard.

Parameters

value System.Boolean

The value for Reorderable

Resources(System.Action<Kendo.Mvc.UI.Fluent.TaskBoardResourceFactory<T,T>>)

The configuration of the TaskBoard resource(s). A TaskBoard resource is optional metadata that can be associated with a TaskBoard event.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.TaskBoardResourceFactory>

The configurator for the resources setting.

Selectable(System.Boolean)

Toggles the selection of the TaskBoard.

Parameters

value System.Boolean

The value for Selectable

Template(System.String)

Controls the rendering of the card.

Parameters

value System.String

The value for Template

TemplateId(System.String)

Controls the rendering of the card.

Parameters

templateId System.String

The ID of the template element for Template

Toolbar(System.Action<Kendo.Mvc.UI.Fluent.TaskBoardToolbarSettingsBuilder<T,T>>)

Configures the Tools of the TaskBoard

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.TaskBoardToolbarSettingsBuilder>

The configurator for the toolbar setting.

Toolbar(System.Boolean)

Configures the Tools of the TaskBoard

Parameters

enabled System.Boolean

Enables or disables the toolbar option.

Width(System.String)

Configures the width of the TaskBoard wrapper.

Parameters

value System.String

The value for Width

Messages(System.Action<Kendo.Mvc.UI.Fluent.TaskBoardMessagesSettingsBuilder<T,T>>)

Provides configuration options for the messages present in the TaskBoard widget.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.TaskBoardMessagesSettingsBuilder>

The configurator for the messages setting.

Events(System.Action<Kendo.Mvc.UI.Fluent.TaskBoardEventBuilder>)

Configures the client-side events.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.TaskBoardEventBuilder>

The client events action.

Example (ASPX)

@(Html.Kendo().TaskBoard()
    .Name("TaskBoard")
    .Events(events => events
        .ColumnsDataBinding("onColumnsDataBinding")
    )
)
In this article
Not finding the help you need?