Hi,
I'm binding the scheduler data using a custom adaptor. On version 20.1.0.61 this seems to work great. But since version 20.2.0.36 it does not seem to work anymore.
I've read the release notes but it does not speak of any changes containing the schedular. https://blazor.syncfusion.com/documentation/release-notes/20.2.36?type=all
Could you tell me if I'am doing somehting wrong? My code snippet is as follows:
<SfSchedule TValue="AppointmentViewModel" Width="100%" Height="650px" SelectedDate="@SelectedDate" MinDate="@MinDate" MaxDate="@MaxDate" FirstDayOfWeek="@FirstDayOfWeek" EnableAutoRowHeight="true" WorkDays="@WorkingDays">
<ScheduleEvents TValue="AppointmentViewModel" OnPopupOpen="@OnPopupOpen"></ScheduleEvents>
<ScheduleTemplates>
<EditorTemplate>
@{
var data = (context as AppointmentViewModel);
<FluentValidationValidator/>
<ValidationSummary/>
<table class="custom-event-editor" width="100%" cellpadding="5">
<tbody>
<tr>
<td class="e-textlabel">Van</td>
<td colspan="4">
<SfDateTimePicker TValue="DateTime?" ID="Start" @bind-Value="@data.StartTime"></SfDateTimePicker>
<ValidationMessage For="@(() => data.StartTime)"/>
</td>
</tr>
<tr>
<td class="e-textlabel">Tot</td>
<td colspan="4">
<SfDateTimePicker TValue="DateTime?" ID="End" @bind-Value="@data.EndTime"></SfDateTimePicker>
<ValidationMessage For="@(() => data.EndTime)"/>
</td>
</tr>
<tr>
<td class="e-textlabel">Teamlid</td>
<td colspan="4">
<SfDropDownList TValue="int" @bind-Value="@data.OwnerId" ID="IdOwnersData" DataSource="@TeamMembers" TItem="TeamMember" Placeholder="Selecteer teamlid">
<DropDownListFieldSettings Value="Id" Text="Name"></DropDownListFieldSettings>
</SfDropDownList>
<ValidationMessage For="@(() => data.OwnerId)"/>
</td>
</tr>
</tbody>
</table>
}
</EditorTemplate>
</ScheduleTemplates>
<ScheduleResources>
<ScheduleResource TValue="int" TItem="TeamMember" DataSource="@TeamMembers" Field="OwnerId" Title="Owner" Name="Owners" TextField="Name" IdField="Id" ColorField="#7499e1" AllowMultiple="false"></ScheduleResource>
</ScheduleResources>
<ScheduleEventSettings TValue="AppointmentViewModel">
<SfDataManager AdaptorInstance="@typeof(CustomAdaptor)" Adaptor="Adaptors.CustomAdaptor"></SfDataManager>
</ScheduleEventSettings>
<ScheduleViews>
<ScheduleView Option="View.Month"></ScheduleView>
</ScheduleViews>
</SfSchedule>
Hi Team,
We have checked on your reported problem, but unfortunately, it works fine at our end. Kindly try the attached sample and could you please get back to us with the below details that help us to validate the issue further and provide the solution earlier?
Regards,
Ruksar Moosa Sait