Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div id="schedulerControl" style="width:83%">
- @Html.DayPilotScheduler("dps", new DayPilotSchedulerConfig
- {
- BackendUrl = Url.Action("GenScheduler", "Scheduler"),
- ViewType = DayPilot.Web.Mvc.Enums.Scheduler.ViewType.Days,
- TimeFormat = DayPilot.Web.Mvc.Enums.TimeFormat.Clock24Hours,
- CellDuration = 30,
- BusinessBeginsHour = 7,
- BusinessEndsHour = 23,
- TimeRangeSelectedHandling = TimeRangeSelectedHandlingType.CallBack,
- TimeHeaders = new TimeHeaderCollection
- {
- new TimeHeader { GroupBy = DayPilot.Web.Mvc.Enums.GroupBy.Hour},
- new TimeHeader { GroupBy = DayPilot.Web.Mvc.Enums.GroupBy.Cell}
- },
- HeaderColumns = new RowHeaderColumnCollection
- {
- new RowHeaderColumn("Dzień", 100),
- new RowHeaderColumn("Czas", 100)
- },
- CellWidthSpec = CellWidthSpec.Auto,
- ShowNonBusiness = false,
- })
- </div>
Add Comment
Please, Sign In to add comment