Kendo UI TaskBoard component
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Type Parameters:
TCard
TColumn
Syntax:
public class TaskBoard<TCard, TColumn> : WidgetBase, IWidget, IHtmlAttributesContainer, IScriptableComponent where TCard : class where TColumn : class
Inheritance: objectWidgetBaseTaskBoard<TCard, TColumn>
Implements:
Inherited Members
Constructors
Initializes a new instance of the TaskBoard class.
public TaskBoard(ViewContext viewContext, IJavaScriptInitializer initializer, IUrlGenerator urlGenerator)
The view context
initializerIJavaScriptInitializerThe JavaScriptInitializer
urlGeneratorIUrlGeneratorThe URL generator.
Properties
Controls whether to bind the TaskBoard to the data source on initialization.
public bool? AutoBind { get; set; }
Defines the list of buttons rendered in the card.
public List<TaskBoardCardMenu> CardMenu { get; set; }
public DataSource Columns { get; }
Defines the settings for the columns.
public TaskBoardColumnSettingsSettings ColumnSettings { get; set; }
The category field of the card.
public string DataCategoryField { get; set; }
The description field of the card.
public string DataDescriptionField { get; set; }
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.
public string DataOrderField { get; set; }
public DataSource DataSource { get; }
public string DataSourceId { get; set; }
The field of the data item that provides the status of the card. Mapped with the status of the columns.
public string DataStatusField { get; set; }
The title field of the card.
public string DataTitleField { get; set; }
Toggles the editing in the TaskBoard. Both for columns and cards.
public TaskBoardEditableSettings Editable { get; set; }
Toggles the editing in the TaskBoard. Both for columns and cards.
public TaskBoardEditableGenericSettings<TCard> GenericEditable { get; set; }
Provides configuration options for the messages present in the TaskBoard widget.
public TaskBoardMessagesSettings Messages { get; set; }
Toggles the previewPane in the TaskBoard.
public TaskBoardPreviewPaneSettings PreviewPane { get; set; }
Toggles the reordering of cards in the TaskBoard.
public bool? Reorderable { get; set; }
The configuration of the TaskBoard resource(s). A TaskBoard resource is optional metadata that can be associated with a TaskBoard event.
public List<TaskBoardResource> Resources { get; set; }
Toggles the selection of the TaskBoard.
public bool? Selectable { get; set; }
The handler for the Template
public string TemplateHandler { get; set; }
The id for the Template
public string TemplateId { get; set; }
Configures the Tools of the TaskBoard.
public TaskBoardToolbarSettings Toolbar { get; set; }
The URL generator.
public IUrlGenerator UrlGenerator { get; }
Methods
public override IDictionary<string, object> Serialize()
Overrides:
Writes the HTML.
protected override void WriteHtml(HtmlTextWriter writer)
The HtmlTextWriter.
Overrides:
Writes the initialization script.
public override void WriteInitializationScript(TextWriter writer)
The TextWriter.
Overrides: