Dear Sir/Madam,
I am trying to implement the appointments view (using SfSchedule) as proof of concept for one of my clients. The following is the XAML code snippet;
<syncfusion:SfSchedule Grid.Row="0" Grid.Column="0" Grid.RowSpan="2" TimeMode="TwentyFourHours"
AllowEditing="False" TimeInterval="FifteenMin" ShowAllDay="False"
NonWorkingDays="Sunday,Saturday" ScheduleType="{Binding Path=SelectedAppointmentView}"
Visibility="{Binding Path=ShowScheduler, Converter={StaticResource VisibleIfTrue}}"
ItemsSource="{Binding Path=AllAppointments}" EnableAutoFormat="True"
>
<syncfusion:SfSchedule.CollapsedHours>
<syncfusion:ScheduleCollapsedHour StartHour="1" EndHour="7"></syncfusion:ScheduleCollapsedHour>
<syncfusion:ScheduleCollapsedHour StartHour="18" EndHour="24"></syncfusion:ScheduleCollapsedHour>
</syncfusion:SfSchedule.CollapsedHours>
<syncfusion:SfSchedule.AppointmentMapping>
<syncfusion:ScheduleAppointmentMapping SubjectMapping="CardCode" StartTimeMapping="AppDate"
EndTimeMapping="AppEndDateTime" NotesMapping="CardName"></syncfusion:ScheduleAppointmentMapping>
</syncfusion:SfSchedule.AppointmentMapping>
<syncfusion:SfSchedule.AppointmentTemplate>
<DataTemplate>
<Grid>
<Rectangle Fill="White" Stroke="Black"
StrokeThickness="2">
</Rectangle>
<StackPanel Orientation="Horizontal">
<Rectangle Fill="Firebrick"
Width="10">
</Rectangle>
<StackPanel Margin="5,1,1,1">
<TextBlock HorizontalAlignment="Left"
VerticalAlignment="Center" FontSize="12" FontWeight="Bold"
Text="{Binding Path=CardCode}"
FontStyle="Normal">
</TextBlock>
<TextBlock HorizontalAlignment="Left"
VerticalAlignment="Center" FontSize="11"
Text="{Binding Path=CardName}"
FontStyle="Normal">
</TextBlock>
</StackPanel>
</StackPanel>
</Grid>
</DataTemplate>
</syncfusion:SfSchedule.AppointmentTemplate>
</syncfusion:SfSchedule>
My problem is, the appointments for a time interval can be more than 3. For example, there can be 10 appointments between 09:00 and 10:00 for the same time and day. The day view and week / workweek view looks clumsy as all the 10 appointments are arranged side by side and the useful information about the appointment is not shown in the overview. My client wants to see the information CardCode (Customer Number) and CardName (Customer Name) listed for these 10 appointments. My idea was to show them one below the other for this interval.
Can you please help me in suggesting a way to show the information for all the appointment at the same time.
I am also attaching the screenshot of the existing design for your reference.
Thank you very much in advance!
With kind regards,
Krishna Kumar N
PS: I will be on vacation for a week. So please excuse me if my responses are delayed.
Attachment:
SfSchedule_Appointments_c647ac58.zip