Skip to content

Commit 826cc6f

Browse files
AsgerHBIankodj
authored andcommitted
Add missing messages for Scheduler view types
The text "Timeline Week" and "Timeline Month" that are visible in the top bar(if the respective view types are allowed in the scheduler) can be changed through the option fields "messages.views.timelineWeek" and "-Month". This change adds as much to the documentation.
1 parent ba02f2c commit 826cc6f

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed

docs/api/javascript/ui/scheduler.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3273,6 +3273,60 @@ The text similar to "Agenda" displayed as scheduler "agenda" view title.
32733273
});
32743274
</script>
32753275

3276+
### messages.views.timelineMonth `String`
3277+
3278+
The text similar to "Timelnie Month" displayed as scheduler "timelineMonth" view title.
3279+
3280+
#### Example - set the "timelineMonth" view title
3281+
3282+
<div id="scheduler"></div>
3283+
<script>
3284+
$("#scheduler").kendoScheduler({
3285+
date: new Date("2013/6/6"),
3286+
views: [ "day", "month", "timelineMonth", "timelineWeek" ],
3287+
messages: {
3288+
views: {
3289+
timelineMonth: "Month, but sideways"
3290+
}
3291+
},
3292+
dataSource: [
3293+
{
3294+
id: 1,
3295+
start: new Date("2013/6/6 08:00 AM"),
3296+
end: new Date("2013/6/6 09:00 AM"),
3297+
title: "Interview"
3298+
}
3299+
]
3300+
});
3301+
</script>
3302+
3303+
### messages.views.timelineWeek `String`
3304+
3305+
The text similar to "Timelnie Week" displayed as scheduler "timelineWeek" view title.
3306+
3307+
#### Example - set the "timelineWeek" view title
3308+
3309+
<div id="scheduler"></div>
3310+
<script>
3311+
$("#scheduler").kendoScheduler({
3312+
date: new Date("2013/6/6"),
3313+
views: [ "day", "month", "timelineMonth", "timelineWeek" ],
3314+
messages: {
3315+
views: {
3316+
timelineWeek: "Week, but sideways"
3317+
}
3318+
},
3319+
dataSource: [
3320+
{
3321+
id: 1,
3322+
start: new Date("2013/6/6 08:00 AM"),
3323+
end: new Date("2013/6/6 09:00 AM"),
3324+
title: "Interview"
3325+
}
3326+
]
3327+
});
3328+
</script>
3329+
32763330
### min `Date` *(default: 1/1/1900)*
32773331

32783332
Constraints the minimum date which can be selected via the scheduler navigation.

0 commit comments

Comments
 (0)