Your search did not match any results.
Scheduler

Agenda

Documentation
This demo illustrates the agenda view, which lists all available appointments grouped by a date. Designed for narrow screens, this view represents appointments compactly.
@model IEnumerable<DevExtreme.MVC.Demos.Models.AgendaTask> @(Html.DevExtreme().Scheduler() .ID("scheduler") .DataSource(Model) .Views(new SchedulerViewType[] { SchedulerViewType.Agenda }) .CurrentView(SchedulerViewType.Agenda) .CurrentDate(new DateTime(2017, 5, 11)) .StartDayHour(9) .Height(600) .TextExpr("Subject") .StartDateExpr("StartDate") .EndDateExpr("DueDate") )
using DevExtreme.MVC.Demos.Models.SampleData; using DevExtreme.MVC.Demos.ViewModels; using System; using System.Collections.Generic; using System.Linq; using System.Web.Mvc; namespace DevExtreme.MVC.Demos.Controllers { public class SchedulerController : Controller { public ActionResult Agenda() { return View(SampleData.AgendaTasks); } } }
using System; namespace DevExtreme.MVC.Demos.Models { public class AgendaTask { public string Subject { set; get; } public DateTime StartDate { set; get; } public DateTime DueDate { set; get; } } }
using System; using System.Collections.Generic; namespace DevExtreme.MVC.Demos.Models.SampleData { public partial class SampleData { public static List<AgendaTask> AgendaTasks { get { return new List<AgendaTask> { new AgendaTask { Subject = "Google AdWords Strategy", StartDate = new DateTime(2017, 5, 1, 9, 0, 0), DueDate = new DateTime(2017, 5, 1, 10, 30, 0) }, new AgendaTask { Subject = "New Brochures", StartDate = new DateTime(2017, 5, 1, 11, 30, 0), DueDate = new DateTime(2017, 5, 1, 14, 15, 0) }, new AgendaTask { Subject = "Brochure Design Review", StartDate = new DateTime(2017, 5, 1, 13, 15, 0), DueDate = new DateTime(2017, 5, 1, 16, 15, 0) }, new AgendaTask { Subject = "Website Re-Design Plan", StartDate = new DateTime(2017, 5, 1, 16, 45, 0), DueDate = new DateTime(2017, 5, 2, 11, 15, 0) }, new AgendaTask { Subject = "Rollout of New Website and Marketing Brochures", StartDate = new DateTime(2017, 5, 2, 8, 15, 0), DueDate = new DateTime(2017, 5, 2, 10, 45, 0) }, new AgendaTask { Subject = "Update Sales Strategy Documents", StartDate = new DateTime(2017, 5, 2, 12, 0, 0), DueDate = new DateTime(2017, 5, 2, 13, 45, 0) }, new AgendaTask { Subject = "Non-Compete Agreements", StartDate = new DateTime(2017, 5, 3, 8, 15, 0), DueDate = new DateTime(2017, 5, 3, 9, 0, 0) }, new AgendaTask { Subject = "Approve Hiring of John Jeffers", StartDate = new DateTime(2017, 5, 3, 10, 0, 0), DueDate = new DateTime(2017, 5, 3, 11, 15, 0) }, new AgendaTask { Subject = "Update NDA Agreement", StartDate = new DateTime(2017, 5, 3, 11, 45, 0), DueDate = new DateTime(2017, 5, 3, 13, 45, 0) }, new AgendaTask { Subject = "Update Employee Files with New NDA", StartDate = new DateTime(2017, 5, 3, 14, 0, 0), DueDate = new DateTime(2017, 5, 3, 16, 45, 0) }, new AgendaTask { Subject = "Submit Questions Regarding New NDA", StartDate = new DateTime(2017, 5, 4, 8, 0, 0), DueDate = new DateTime(2017, 5, 4, 9, 30, 0) }, new AgendaTask { Subject = "Submit Signed NDA", StartDate = new DateTime(2017, 5, 4, 12, 45, 0), DueDate = new DateTime(2017, 5, 4, 14, 0, 0) }, new AgendaTask { Subject = "Review Revenue Projections", StartDate = new DateTime(2017, 5, 4, 17, 15, 0), DueDate = new DateTime(2017, 5, 4, 18, 0, 0) }, new AgendaTask { Subject = "Comment on Revenue Projections", StartDate = new DateTime(2017, 5, 5, 9, 15, 0), DueDate = new DateTime(2017, 5, 5, 11, 15, 0) }, new AgendaTask { Subject = "Provide New Health Insurance Docs", StartDate = new DateTime(2017, 5, 5, 12, 45, 0), DueDate = new DateTime(2017, 5, 5, 14, 15, 0), }, new AgendaTask { Subject = "Review Changes to Health Insurance Coverage", StartDate = new DateTime(2017, 5, 5, 14, 15, 0), DueDate = new DateTime(2017, 5, 5, 15, 30, 0) }, new AgendaTask { Subject = "Review Training Course for any Ommissions", StartDate = new DateTime(2017, 5, 8, 14, 0, 0), DueDate = new DateTime(2017, 5, 9, 12, 0, 0) }, new AgendaTask { Subject = "Recall Rebate Form", StartDate = new DateTime(2017, 5, 8, 12, 45, 0), DueDate = new DateTime(2017, 5, 8, 13, 15, 0) }, new AgendaTask { Subject = "Create Report on Customer Feedback", StartDate = new DateTime(2017, 5, 9, 15, 15, 0), DueDate = new DateTime(2017, 5, 9, 17, 30, 0) }, new AgendaTask { Subject = "Review Customer Feedback Report", StartDate = new DateTime(2017, 5, 9, 16, 15, 0), DueDate = new DateTime(2017, 5, 9, 18, 30, 0) }, new AgendaTask { Subject = "Customer Feedback Report Analysis", StartDate = new DateTime(2017, 5, 10, 9, 30, 0), DueDate = new DateTime(2017, 5, 10, 10, 30, 0) }, new AgendaTask { Subject = "Prepare Shipping Cost Analysis Report", StartDate = new DateTime(2017, 5, 10, 12, 30, 0), DueDate = new DateTime(2017, 5, 10, 13, 30, 0) }, new AgendaTask { Subject = "Provide Feedback on Shippers", StartDate = new DateTime(2017, 5, 10, 14, 15, 0), DueDate = new DateTime(2017, 5, 10, 16, 0, 0) }, new AgendaTask { Subject = "Select Preferred Shipper", StartDate = new DateTime(2017, 5, 10, 17, 30, 0), DueDate = new DateTime(2017, 5, 10, 20, 0, 0) }, new AgendaTask { Subject = "Complete Shipper Selection Form", StartDate = new DateTime(2017, 5, 11, 8, 30, 0), DueDate = new DateTime(2017, 5, 11, 10, 0, 0) }, new AgendaTask { Subject = "Upgrade Server Hardware", StartDate = new DateTime(2017, 5, 11, 12, 0, 0), DueDate = new DateTime(2017, 5, 11, 14, 15, 0) }, new AgendaTask { Subject = "Upgrade Personal Computers", StartDate = new DateTime(2017, 5, 11, 14, 45, 0), DueDate = new DateTime(2017, 5, 11, 16, 30, 0) }, new AgendaTask { Subject = "Upgrade Apps to Windows RT or stay with WinForms", StartDate = new DateTime(2017, 5, 12, 10, 30, 0), DueDate = new DateTime(2017, 5, 12, 13, 0, 0) }, new AgendaTask { Subject = "Estimate Time Required to Touch-Enable Apps", StartDate = new DateTime(2017, 5, 12, 14, 45, 0), DueDate = new DateTime(2017, 5, 12, 16, 30, 0) }, new AgendaTask { Subject = "Report on Tranistion to Touch-Based Apps", StartDate = new DateTime(2017, 5, 12, 18, 30, 0), DueDate = new DateTime(2017, 5, 12, 19, 0, 0) }, new AgendaTask { Subject = "Submit New Website Design", StartDate = new DateTime(2017, 5, 15, 8, 0, 0), DueDate = new DateTime(2017, 5, 15, 10, 0, 0) }, new AgendaTask { Subject = "Create Icons for Website", StartDate = new DateTime(2017, 5, 15, 11, 30, 0), DueDate = new DateTime(2017, 5, 15, 13, 15, 0) }, new AgendaTask { Subject = "Create New Product Pages", StartDate = new DateTime(2017, 5, 16, 9, 45, 0), DueDate = new DateTime(2017, 5, 16, 11, 45, 0) }, new AgendaTask { Subject = "Approve Website Launch", StartDate = new DateTime(2017, 5, 16, 12, 0, 0), DueDate = new DateTime(2017, 5, 16, 15, 15, 0) }, new AgendaTask { Subject = "Update Customer Shipping Profiles", StartDate = new DateTime(2017, 5, 17, 9, 30, 0), DueDate = new DateTime(2017, 5, 17, 11, 0, 0) }, new AgendaTask { Subject = "Create New Shipping Return Labels", StartDate = new DateTime(2017, 5, 17, 12, 45, 0), DueDate = new DateTime(2017, 5, 17, 14, 0, 0) }, new AgendaTask { Subject = "Get Design for Shipping Return Labels", StartDate = new DateTime(2017, 5, 17, 15, 0, 0), DueDate = new DateTime(2017, 5, 17, 16, 30, 0) }, new AgendaTask { Subject = "PSD needed for Shipping Return Labels", StartDate = new DateTime(2017, 5, 18, 8, 30, 0), DueDate = new DateTime(2017, 5, 18, 9, 15, 0) }, new AgendaTask { Subject = "Contact ISP and Discuss Payment Options", StartDate = new DateTime(2017, 5, 18, 11, 30, 0), DueDate = new DateTime(2017, 5, 18, 16, 0, 0) }, new AgendaTask { Subject = "Prepare Year-End Support Summary Report", StartDate = new DateTime(2017, 5, 18, 17, 0, 0), DueDate = new DateTime(2017, 5, 18, 20, 0, 0) }, new AgendaTask { Subject = "Review New Training Material", StartDate = new DateTime(2017, 5, 19, 8, 0, 0), DueDate = new DateTime(2017, 5, 19, 9, 15, 0) }, new AgendaTask { Subject = "Distribute Training Material to Support Staff", StartDate = new DateTime(2017, 5, 19, 12, 45, 0), DueDate = new DateTime(2017, 5, 19, 14, 0, 0) }, new AgendaTask { Subject = "Training Material Distribution Schedule", StartDate = new DateTime(2017, 5, 19, 14, 15, 0), DueDate = new DateTime(2017, 5, 19, 16, 15, 0) }, new AgendaTask { Subject = "Approval on Converting to New HDMI Specification", StartDate = new DateTime(2017, 5, 22, 9, 30, 0), DueDate = new DateTime(2017, 5, 22, 10, 15, 0) }, new AgendaTask { Subject = "Create New Spike for Automation Server", StartDate = new DateTime(2017, 5, 22, 10, 0, 0), DueDate = new DateTime(2017, 5, 22, 12, 30, 0) }, new AgendaTask { Subject = "Code Review - New Automation Server", StartDate = new DateTime(2017, 5, 22, 13, 0, 0), DueDate = new DateTime(2017, 5, 22, 15, 0, 0) }, new AgendaTask { Subject = "Confirm Availability for Sales Meeting", StartDate = new DateTime(2017, 5, 23, 10, 15, 0), DueDate = new DateTime(2017, 5, 23, 15, 15, 0) }, new AgendaTask { Subject = "Reschedule Sales Team Meeting", StartDate = new DateTime(2017, 5, 23, 16, 15, 0), DueDate = new DateTime(2017, 5, 23, 18, 0, 0) }, new AgendaTask { Subject = "Send 2 Remotes for Giveaways", StartDate = new DateTime(2017, 5, 24, 9, 30, 0), DueDate = new DateTime(2017, 5, 24, 11, 45, 0) }, new AgendaTask { Subject = "Discuss Product Giveaways with Management", StartDate = new DateTime(2017, 5, 24, 12, 15, 0), DueDate = new DateTime(2017, 5, 24, 16, 45, 0) }, new AgendaTask { Subject = "Replace Desktops on the 3rd Floor", StartDate = new DateTime(2017, 5, 25, 9, 30, 0), DueDate = new DateTime(2017, 5, 25, 10, 45, 0) }, new AgendaTask { Subject = "Update Database with New Leads", StartDate = new DateTime(2017, 5, 25, 12, 0, 0), DueDate = new DateTime(2017, 5, 25, 14, 15, 0) }, new AgendaTask { Subject = "Mail New Leads for Follow Up", StartDate = new DateTime(2017, 5, 25, 14, 45, 0), DueDate = new DateTime(2017, 5, 25, 15, 30, 0) }, new AgendaTask { Subject = "Send Territory Sales Breakdown", StartDate = new DateTime(2017, 5, 25, 18, 0, 0), DueDate = new DateTime(2017, 5, 25, 20, 0, 0) }, new AgendaTask { Subject = "Territory Sales Breakdown Report", StartDate = new DateTime(2017, 5, 26, 8, 45, 0), DueDate = new DateTime(2017, 5, 26, 9, 45, 0) }, new AgendaTask { Subject = "Report on the State of Engineering Dept", StartDate = new DateTime(2017, 5, 26, 14, 45, 0), DueDate = new DateTime(2017, 5, 26, 15, 30, 0) }, new AgendaTask { Subject = "Staff Productivity Report", StartDate = new DateTime(2017, 5, 26, 16, 15, 0), DueDate = new DateTime(2017, 5, 26, 19, 30, 0) } }; } } } }