Skip to content

Commit 06390a6

Browse files
committed
docs(Scheduler): article polish
1 parent 4b492aa commit 06390a6

File tree

1 file changed

+33
-7
lines changed

1 file changed

+33
-7
lines changed

components/scheduler/views/agenda.md

Lines changed: 33 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Agenda
33
page_title: Scheduler - Agenda View
4-
description: Agenda View in the Scheduler for Blazor.
4+
description: The Agenda view in the Scheduler for Blazor shows a weekly summary or a user-defined custom period in a table format, providing a clear event overview.
55
slug: scheduler-views-agenda
66
tags: telerik,blazor,scheduler,view,agenda
77
published: True
@@ -10,7 +10,7 @@ position: 6
1010

1111
# Agenda View
1212

13-
The Agenda view of the Scheduler for Blazor shows a weekly summary (or a custom period set by the user) in a table format.
13+
The Agenda view of the Scheduler for Blazor shows a weekly summary (or another custom period set by the user) in a table format.
1414

1515
In this article:
1616

@@ -35,10 +35,14 @@ The following parameters allow you to configure the Agenda view:
3535
>caption Declare the Agenda view in the markup
3636
3737
````CSHTML
38-
@* Define the Agenda view. *@
38+
@* Control the empty days visibility *@
39+
<label for="hide-emptydays-checkbox" class="k-checkbox-label checkbox-label">Hide Empty Days</label>
40+
<TelerikCheckBox @bind-Value="@HideEmptyDays" Id="hide-emptydays-checkbox"></TelerikCheckBox>
3941
42+
@* Define the Agenda view. *@
4043
<TelerikScheduler Data="@Appointments" @bind-Date="@StartDate" Width="800px">
4144
<SchedulerViews>
45+
@* Enable the Agenda view and use the 'HideEmptyAgendaDays' option to control whether days without appointments are shown in the Agenda view*@
4246
<SchedulerAgendaView HideEmptyAgendaDays="@HideEmptyDays" />
4347
</SchedulerViews>
4448
</TelerikScheduler>
@@ -72,18 +76,40 @@ The following parameters allow you to configure the Agenda view:
7276
End = new DateTime(2024, 10, 22, 15, 00, 0)
7377
},
7478
new SchedulerAppointment
79+
{
80+
Title = "Weekly Team Meeting",
81+
Description = "Discuss the project progress.",
82+
Start = new DateTime(2024, 10, 23, 13, 30, 0),
83+
End = new DateTime(2024, 10, 23, 14, 00, 0)
84+
},
85+
new SchedulerAppointment
86+
{
87+
Title = "Security Training",
88+
Description = "Security Training",
89+
Start = new DateTime(2024, 10, 24, 10, 30, 0),
90+
End = new DateTime(2024, 10, 24, 11, 30, 0)
91+
},
92+
new SchedulerAppointment
93+
{
94+
Title = "Gym Workout",
95+
Description = "Training",
96+
Start = new DateTime(2024, 10, 24, 17, 00, 0),
97+
End = new DateTime(2024, 10, 24, 18, 30, 0)
98+
},
99+
new SchedulerAppointment
75100
{
76101
Title = "Team Outing",
77102
Description = "Lunch with the team.",
78-
Start = new DateTime(2024, 10, 23, 12, 30, 0),
79-
End = new DateTime(2024, 10, 23, 14, 00, 0)
103+
Start = new DateTime(2024, 10, 25, 12, 30, 0),
104+
End = new DateTime(2024, 10, 25, 14, 00, 0)
80105
},
81106
new SchedulerAppointment
82107
{
83108
Title = "Webinar",
84109
Description = "Industry trends and insights.",
85-
Start = new DateTime(2024, 10, 24, 16, 00, 0),
86-
End = new DateTime(2024, 10, 24, 17, 30, 0)
110+
Start = new DateTime(2024, 10, 28, 00, 00, 0),
111+
End = new DateTime(2024, 10, 29, 00, 00, 0),
112+
IsAllDay = true
87113
},
88114
new SchedulerAppointment
89115
{

0 commit comments

Comments
 (0)