Introduction
The Kendo Scheduler widget is used to display the set of events. It has many functionalities like viewing the event by single day or week, else the whole month.
Working with Scheduler in Kendo UI
Now we are going to create a Kendo Scheduler through the following steps.
Step 1: Create an HTML page, In my case I named it KendoScheduler.html.
The Kendo Scheduler widget is used to display the set of events. It has many functionalities like viewing the event by single day or week, else the whole month.
Working with Scheduler in Kendo UI
Now we are going to create a Kendo Scheduler through the following steps.
Step 1: Create an HTML page, In my case I named it KendoScheduler.html.
Write the following design in KendoScheduler.html
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <title>Untitled</title>
- <link rel="stylesheet" href="http://kendo.cdn.telerik.com/2015.3.930/styles/kendo.common.min.css">
- <link rel="stylesheet" href="http://kendo.cdn.telerik.com/2015.3.930/styles/kendo.rtl.min.css">
- <link rel="stylesheet" href="http://kendo.cdn.telerik.com/2015.3.930/styles/kendo.default.min.css">
- <link rel="stylesheet" href="http://kendo.cdn.telerik.com/2015.3.930/styles/kendo.mobile.all.min.css">
- <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
- <script src="http://kendo.cdn.telerik.com/2015.3.930/js/angular.min.js"></script>
- <script src="http://kendo.cdn.telerik.com/2015.3.930/js/jszip.min.js"></script>
- <script src="http://kendo.cdn.telerik.com/2015.3.930/js/kendo.all.min.js"></script>
- </head>
- <body>
- <div class="container">
- <div class="row">
- <div class="col-sm-6">
- <div id="scheduler"></div>
- </div>
- </div>
- </div>
- </body>
- </html>
Step 2: Create one JS file and write the following code.
- var d = new Date();
- var month = d.getMonth() + 1;
- var day = d.getDate();
- var output = d.getFullYear() + '/' +
- (month < 10 ? '0' : '') + month + '/' +
- (day < 10 ? '0' : '') + day;
- $("#scheduler").kendoScheduler({
- date: output,
- dataSource: [
- {
- id: 1,
- start: output + ' ' + '05:00 AM',
- end: output + ' ' + '06:00 AM',
- title: "Yoga"
- },
- {
- id: 2,
- start: output + ' ' + '07:00 AM',
- end: output + ' ' + '08:00 AM',
- title: "Meeting"
- }
- ]
- });



sachin dateyPosted Dec 19, 2016, 7:44 AM
Thanks sir,, It helped me a lot
Arul RPosted Oct 28, 2015, 5:54 AM
Nice share!!!
Sibeesh VenuPosted Oct 27, 2015, 8:35 AM
Nice Share
Mukesh KumarPosted Oct 27, 2015, 7:38 AM
Good Job Sir
Nilesh JadavPosted Oct 27, 2015, 3:01 AM
Good Share sir !
Harshad PansuriyaPosted Oct 27, 2015, 12:11 AM
Nice one