The library lets you have different views in the scheduler to present tasks (events) in more handy for you way.

Default views

By default, the scheduler contains 3 tabs with the following views:

Additional views

Managing views

Added views (available on the client-side) are stored in the DHXScheduler.Views container.

Here are some useful properties and functions:

  1. To refer to added views:

    var view = scheduler.Views[i];//where i < scheduler.Views.Count()
  2. To clear the DHXScheduler.Views container (remove all views from the scheduler):

  3. To add a new view:

    scheduler.Views.Add(new AgendaView());
  4. To set the initial date:

    scheduler.InitialDate = new DateTime(2011, 10, 7);
  5. To set a view selected initially (by default, it's the week view):

    var unit = new UnitsView("unit", "key");
    scheduler.InitialView = unit.Name;

    The property is set to the value of the Name property of the view.

Custom views

Scheduler supports creation of custom views. More information you can see here

comments powered by Disqus