Your search did not match any results.
Scheduler

Simple Array

Documentation

In this demo, the Scheduler widget visualizes data stored in an in-memory array. The widget is bound to this array using the dataSource option. Note that object structure complies with the Default Item Structure, that is, each object has the text, startDate and endDate fields.

@model IEnumerable<DevExtreme.MVC.Demos.Models.Appointment> @(Html.DevExtreme().Scheduler() .ID("scheduler") .DataSource(Model) .TextExpr("Text") .StartDateExpr("StartDate") .EndDateExpr("EndDate") .AllDayExpr("AllDay") .Views(new[] { SchedulerViewType.Week, SchedulerViewType.Month }) .CurrentView(SchedulerViewType.Week) .CurrentDate(new DateTime(2021, 5, 25)) .StartDayHour(9) .Height(600) )
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 SimpleArray() { return View(SampleData.SimpleArrayAppointments); } } }