WeekAgenda View Initialization and Properties

WeekAgenda View Initialization and Properties

week agenda view

Initialization

public ActionResult Index() {
    var sched = new DHXScheduler(this);
    ...
    var agenda= new WeekAgendaView();//initializes the view
    agenda.Label = "Week";// the name of the tab
    sched.Views.Add(agenda);//adds the view to the scheduler
 
    return View(sched);
}

Properties

  • Label - (string) the text label of the tab. The default value - 'Agenda'.
  • Name - (string) the name of the view. The property is read-only. By default - 'week'.
  • TabClass - (string) the name of a css class that will be applied to the tab.
  • TabPosition - (integer) the right offset of the view tab in the tabbar. By default, tabs go right-to-left in the order of addition to the scheduler.
  • TabStyle - (string) the style that will be applied to the tab.
  • TabWidth - (integer) the width of the tab
  • ViewType - (string) the type of the view. The property is read-only.

comments powered by Disqus