Home Unanswered Active Tags New Question

DayPilot Scheduler - cannot set the CellGroupBy at run time

I want to switch between month, year, day views etc.

I don't see any way to change DayPilotScheduler1.CellGroupBy

Thanks,Peter

Asked by peter cli 4 years ago.
Replies
In order to switch the views, you need to change the following properties:
  • Days
  • CellDuration
  • CellGroupBy
  • StartDate (optionally)
  • CellWidth (optionally)
It's possible to change these properties during the initial loading (e.g. in Page_Load), during PostBack, or during CallBack inside Refresh event handler. It's not possible to change it inside other CallBack event handlers (like TimeRangeSelected, EventClick) because they update just the events.

For an example, you can check the DayPilot package, file Demo/Scheduler/Default.aspx and Default.aspx.cs.
Comment posted by Dan Letecky 4 years ago.
New Reply
This reply is
Your name (optional):

DayPilot for ASP.NET WebForms, DayPilot for ASP.NET MVC, DayPilot for Java