Hello,
I am currently running on version 18.1.0.44 of SfSchedule an I've encountered some problems when using templates.
The following are the issues I noticed:
1. The template can now only be set for the area to the right of the date in the Agenda view area
2. The 'left' date can not be overwritten
3. The following code has different issues on ios and android:
<Grid HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand" BackgroundColor="AliceBlue">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="5" />
<ColumnDefinition Width="0.2*" />
<ColumnDefinition Width="*" />
<ColumnDefinition Width="5" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<BoxView BackgroundColor="{Binding Color}" Grid.Column="0" Grid.Row="0" Grid.RowSpan="2"
VerticalOptions="FillAndExpand" HorizontalOptions="FillAndExpand"/>
<Label TextColor="Orange" FontSize="Medium" Grid.Column="1" Grid.Row="0" Text="{Binding StartTime, StringFormat='{0:hh}'}"
HorizontalOptions="Fill" VerticalOptions="Fill"/>
<Label TextColor="Black" FontSize="Medium" Grid.Column="2" Grid.Row="0" Text="{Binding Subject}"
HorizontalOptions="Fill" VerticalOptions="Fill"/>
<BoxView BackgroundColor="{Binding Color}" Grid.Column="3" Grid.Row="0" Grid.RowSpan="2"
VerticalOptions="FillAndExpand" HorizontalOptions="FillAndExpand"/>
</Grid>
The above creates 2 columns with <ColumnDefinition Width="5" /> to display colored boxviews.
Both on Android and ios, the left column is ok but the right on is being ignored or hidden.
Lastly, on ios it also makes the template horizontally scrollable.
I attached your sample with the above changes so you can have a look.
Let me know if you have any questions,
Bernard
Attachment:
Schedule_Appointment_Sample_20200420_4ece1347.zip