Skip to main content

ejSchedule

Namespace: Wisej.Web.Ext.Syncfusion

Assembly: Wisej.Web.Ext.Syncfusion (4.1.0.0)

An Event calendar that manages the list of various activities like events/appointments.

public class ejSchedule : ejBase

Constructors​

Instance member ejSchedule()​

Constructs a new instance of the ejSchedule class.

Example:

The following example creates the scheduler and binds it to a list of appointments through the options.

var schedule = new ejSchedule();
schedule.Options.currentView = "week";
schedule.Options.appointmentSettings = new
{
dataSource = appointments,
id = "Id",
subject = "Subject",
startTime = "StartTime",
endTime = "EndTime"
};
schedule.Dock = DockStyle.Fill;
this.Controls.Add(schedule);

Instance member ejSchedule(options)​

Constructs a new instance of the ejSchedule class.

NameTypeDescription
optionsObjectInitial set of options.

Example:

The following example creates a scheduler that shows the working hours of the month and the appointment clicked by the user.

var schedule = new ejSchedule(new
{
currentView = "month",
currentDate = new DateTime(2025, 12, 1),
startHour = 8,
endHour = 18,
appointmentSettings = new
{
dataSource = appointments,
id = "Id",
subject = "Subject",
startTime = "StartTime",
endTime = "EndTime"
}
});
schedule.Instance.onAppointmentClick += new WidgetEventHandler((s, e) =>
{
AlertBox.Show($"Appointment: {e.Data.appointment.Subject}");
});
schedule.Dock = DockStyle.Fill;
this.Controls.Add(schedule);

Implements​