Skip to content

Commit d39ffb5

Browse files
authored
docs(Scheduler): article polish (#2460)
* docs(Scheduler): article polish * chore(Scheduler): remove unnecessery comments
1 parent bc6500d commit d39ffb5

File tree

1 file changed

+31
-7
lines changed

1 file changed

+31
-7
lines changed

components/scheduler/views/agenda.md

Lines changed: 31 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,12 @@ 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+
<label for="hide-emptydays-checkbox" class="k-checkbox-label checkbox-label">Hide Empty Days</label>
39+
<TelerikCheckBox @bind-Value="@HideEmptyDays" Id="hide-emptydays-checkbox"></TelerikCheckBox>
3940
4041
<TelerikScheduler Data="@Appointments" @bind-Date="@StartDate" Width="800px">
4142
<SchedulerViews>
43+
@* Enable the Agenda view and use the 'HideEmptyAgendaDays' option to control whether days without appointments are shown in the Agenda view*@
4244
<SchedulerAgendaView HideEmptyAgendaDays="@HideEmptyDays" />
4345
</SchedulerViews>
4446
</TelerikScheduler>
@@ -72,18 +74,40 @@ The following parameters allow you to configure the Agenda view:
7274
End = new DateTime(2024, 10, 22, 15, 00, 0)
7375
},
7476
new SchedulerAppointment
77+
{
78+
Title = "Weekly Team Meeting",
79+
Description = "Discuss the project progress.",
80+
Start = new DateTime(2024, 10, 23, 13, 30, 0),
81+
End = new DateTime(2024, 10, 23, 14, 00, 0)
82+
},
83+
new SchedulerAppointment
84+
{
85+
Title = "Security Training",
86+
Description = "Security Training",
87+
Start = new DateTime(2024, 10, 24, 10, 30, 0),
88+
End = new DateTime(2024, 10, 24, 11, 30, 0)
89+
},
90+
new SchedulerAppointment
91+
{
92+
Title = "Gym Workout",
93+
Description = "Training",
94+
Start = new DateTime(2024, 10, 24, 17, 00, 0),
95+
End = new DateTime(2024, 10, 24, 18, 30, 0)
96+
},
97+
new SchedulerAppointment
7598
{
7699
Title = "Team Outing",
77100
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)
101+
Start = new DateTime(2024, 10, 25, 12, 30, 0),
102+
End = new DateTime(2024, 10, 25, 14, 00, 0)
80103
},
81104
new SchedulerAppointment
82105
{
83106
Title = "Webinar",
84107
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)
108+
Start = new DateTime(2024, 10, 28, 00, 00, 0),
109+
End = new DateTime(2024, 10, 29, 00, 00, 0),
110+
IsAllDay = true
87111
},
88112
new SchedulerAppointment
89113
{

0 commit comments

Comments
 (0)