Kanban
Namespace: Wisej.Web.Ext.Webix
Assembly: Wisej.Web.Ext.Webix (4.1.0.0)
Webix Kanban board is a tool that is intended for viewing work in progress and controlling the flow of work.
- C#
- VB.NET
public class Kanban : wxBase
Public Class Kanban
Inherits wxBase
Constructors
Kanban()
Constructs a new instance of the Kanban class.
Example:
The following example creates a board with two columns; each card is placed in the list with the matching status.
var kanban = new Kanban();
kanban.Options.cols = new[]
{
new { header = "To do", body = new { view = "kanbanlist", status = "new" } },
new { header = "Done", body = new { view = "kanbanlist", status = "done" } }
};
kanban.Options.data = new[]
{
new { id = 1, status = "new", text = "Call the customer" },
new { id = 2, status = "done", text = "Send the offer" }
};
kanban.Dock = DockStyle.Fill;
this.Controls.Add(kanban);
Kanban(options)
Constructs a new instance of the Kanban class.
| Name | Type | Description |
|---|---|---|
| options | Object | Initial set of options. |
Example:
The following example creates a board with three columns passing the layout and the cards to the constructor.
var kanban = new Kanban(new
{
cols = new[]
{
new { header = "Backlog", body = new { view = "kanbanlist", status = "new" } },
new { header = "In progress", body = new { view = "kanbanlist", status = "work" } },
new { header = "Done", body = new { view = "kanbanlist", status = "done" } }
},
data = new[]
{
new { id = 1, status = "new", text = "Write the specification" },
new { id = 2, status = "work", text = "Design the database" },
new { id = 3, status = "done", text = "Set up the repository" }
}
});
kanban.Dock = DockStyle.Fill;
this.Controls.Add(kanban);