Display Location and Notes in Agenda View

Hi,

Is it possible to display Location and Notes in Agenda View?

By default it is showing only Subject and date time.

Thanks


4 Replies

SS SaiGanesh Sakthivel Syncfusion Team November 8, 2021 09:31 AM UTC

Hi Fernando, 
 
Thank you for using Syncfusion products. 
 
#Regarding Display Location and Notes in Agenda View 
We have checked the reported query from our end. Your requirement can be achieved with help of AgendaItemTemplate in SfSchedule. Please refer to the following code snippet for your reference. 
 
Code Snippet 
<schedule:MonthViewSettings.AgendaItemTemplate> 
    <DataTemplate> 
        <Grid BackgroundColor="{Binding Color}"> 
            <Grid.RowDefinitions> 
                <RowDefinition Height="0.4*"/> 
                <RowDefinition Height="0.3*"/> 
                <RowDefinition Height="0.3*"/> 
            </Grid.RowDefinitions> 
            <Label Text="{Binding EventName}" Grid.Row="0"/> 
            <StackLayout Orientation="Horizontal" Grid.Row="1"> 
                <Label Text="{Binding From, StringFormat='{}{0:hh\\:mm}'}"  HorizontalOptions="FillAndExpand" /> 
                <Label Text="{Binding To, StringFormat='{}{0:hh\\:mm}'}"  HorizontalOptions="FillAndExpand"/> 
            </StackLayout> 
            <StackLayout Orientation="Horizontal" Grid.Row="2"> 
                <Label Text="{Binding Location}" HorizontalOptions="FillAndExpand"  /> 
                <Label Text="{Binding Notes}" HorizontalOptions="FillAndExpand" /> 
            </StackLayout> 
        </Grid> 
    </DataTemplate> 
</schedule:MonthViewSettings.AgendaItemTemplate> 
 
Please refer to the sample in the following locations. 
 
Please let us know if you have any concerns.

Regards,
SaiGanesh Sakthivel
 



FE Fernando November 8, 2021 10:19 PM UTC

Hi,

Thank you very much for the solution.



SS SaiGanesh Sakthivel Syncfusion Team November 9, 2021 01:05 PM UTC

Hi Fernando, 
 
Thank you for the update.  
  
We are glad to know that the given solution helped to achieve your requirement. Please let us know if you need any further assistance.  
  
Regards,  
SaiGanesh Sakthivel 
 



FE Fernando November 11, 2021 12:22 PM UTC


Thank you


Loader.
Up arrow icon