@(Html.EJ().Kanban("Orders")
.DataSource(Model)
.ClientSideEvents(eve => eve.ContextClick("click"))
.Columns(col =>
{
col.HeaderText("Need To Be Reviewed").Key("OrderItemsNeedToBeReviewed").Add();
col.HeaderText("Submitted").Key("Submitted").Add();
col.HeaderText("Accepted").Key("Accepted").Add();
col.HeaderText("In Delivery").Key("InDelivery").Add();
col.HeaderText("Delivered").Key("Delivered").Add();
col.HeaderText("Canceled").Key("Canceled").Add();
})
.AllowTitle(true)
.AllowDragAndDrop(false)
.KeyField("Status")
.Locale("en-US")
.Fields(field =>
{
field.Color("#ee2662")
.Title("Title")
.Content("Content")
.SwimlaneKey("Swimlane")
.PrimaryKey("Id");
}).ContextMenuSettings(menu => menu.DisableDefaultItems(a => a.Add(KanbanContextMenuItem.DeleteCard)).CustomMenuItems(custom => custom.Text("Details").Target(ContextTarget.Card).Add()))
)