TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Kasuni Abegunawardana
NA
211
125.5k
How to disable KENDO Calendar dates and days both
Jan 8 2019 4:35 AM
Hi all,
I need to disable selected date and weekly days as below ss.
I did it in two kendo calendars and i need to this both in one calendar.
Please tell me some solutions to do that.
<body>
<div id=
"example"
>
<div
class
=
"demo-section k-content"
style=
"text-align: center;"
>
<div id=
"calendar"
></div>
<div id=
"holidays"
></div>
<p id =
"hh"
></p>
</div>
<script>
var
dates = [
new
Date(
"1/1/2019"
),
new
Date(
"1/19/2019"
),
];
var
days = [
"mo"
,
"we"
]
$(
"#calendar"
).kendoCalendar({
disableDates: dates,
});
$(
"#holidays"
).kendoCalendar({
//disableDates: dates,
disableDates: days,
});
</script>
</div>
</body>
thank you.
Kasu.
Reply
Answers (
3
)
checked radio button how to unchecked in group radio button
KENDO UI - How to bind the predefined data to data source