Hey,
We are trying to use your schedule feature. But we are running into issues.
Basically we can add one resourceSetting and appointmentSettings and the appointmentSettings will show.
But as soon as we add another resourcesetting (i.e we have Task > TaskOne) the appointment settings will not show up on any of the sections. (for example we are trying to make it work similarly to the Doctor example)
Is there something we are missing?
I have attached the JavaScript file we are using, as well as the sample data we are trying to use. As well as pictures
(Sample Data for the AppointmentSetting)
List<ScheduledTaskObject> scheduledTaskObject = new List<ScheduledTaskObject>()
{
new ScheduledTaskObject() { id = "1", PlannedTaskId = "1", StartDate = DateTime.Now, EndDate = DateTime.Now.AddDays(2), TaskCode = "T1-1" },
new ScheduledTaskObject() { id = "2", PlannedTaskId = "1", StartDate = DateTime.Now.AddDays(7), EndDate = DateTime.Now.AddDays(9), TaskCode = "T1-2" },
new ScheduledTaskObject() { id = "3", PlannedTaskId = "2", StartDate = DateTime.Now, EndDate = DateTime.Now.AddDays(2), TaskCode = "T2-1" },
new ScheduledTaskObject() { id = "4", PlannedTaskId = "2", StartDate = DateTime.Now.AddDays(7), EndDate = DateTime.Now.AddDays(9), TaskCode = "T2-2" }
};
Sample Data for the Resource Setting
List<PlannedTaskResource> taskResourceList = new List<PlannedTaskResource>()
{
new PlannedTaskResource() { id = "1", FacilityCode = "TestFacility", TaskCode ="Groundwater samples - T1", ScheduledTasksTotal = 2 },
new PlannedTaskResource() { id = "2", FacilityCode = "TestFacility", TaskCode ="Water levels - T2", ScheduledTasksTotal = 2 }
};
Attachment:
SyncfusionSch_af242a6b.zip