Guest User

Untitled

a guest
Jan 27th, 2017
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.95 KB | None | 0 0
  1. <div id="schedulerControl" style="width:83%">
  2.         @Html.DayPilotScheduler("dps", new DayPilotSchedulerConfig
  3.    {
  4.        BackendUrl = Url.Action("GenScheduler", "Scheduler"),
  5.        ViewType = DayPilot.Web.Mvc.Enums.Scheduler.ViewType.Days,
  6.        TimeFormat = DayPilot.Web.Mvc.Enums.TimeFormat.Clock24Hours,
  7.        CellDuration = 30,
  8.        BusinessBeginsHour = 7,
  9.        BusinessEndsHour = 23,
  10.        TimeRangeSelectedHandling = TimeRangeSelectedHandlingType.CallBack,
  11.        TimeHeaders = new TimeHeaderCollection
  12.         {
  13.             new TimeHeader { GroupBy = DayPilot.Web.Mvc.Enums.GroupBy.Hour},
  14.             new TimeHeader { GroupBy = DayPilot.Web.Mvc.Enums.GroupBy.Cell}
  15.         },
  16.        HeaderColumns = new RowHeaderColumnCollection
  17.         {
  18.             new RowHeaderColumn("Dzień", 100),
  19.             new RowHeaderColumn("Czas", 100)
  20.         },
  21.        CellWidthSpec = CellWidthSpec.Auto,
  22.        ShowNonBusiness = false,
  23.    })
  24.     </div>
Add Comment
Please, Sign In to add comment