dhtmlx-scheduler
Version:
JavaScript event calendar. Allows to manage events and appointments in different views
118 lines (83 loc) • 5.25 kB
Markdown
# dhtmlxScheduler #
[](https://dhtmlx.com/)
[](https://www.npmjs.com/package/dhtmlx-scheduler)
[](https://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
[DHTMLX Scheduler](https://dhtmlx.com/docs/products/dhtmlxScheduler) is a JavaScript library that allows you to add a Google-like scheduler to your web app or website.
Intuitive drag-and-drop interface allows end users to quickly manage events and appointments in 10 different views, including Day, Week, Month, Year, Agenda, Timeline, etc. The Scheduler also supports integration with Google Maps so users can assign a location to the particular calendar events. Moreover, they can create recurring and multiday events.

==> [See more samples](https://docs.dhtmlx.com/scheduler/samples/index.html)
## Getting started ##
Add files:
~~~html
<script src="dhtmlxscheduler.js" ></script>
<link rel="stylesheet" href="dhtmlxscheduler.css" type="text/css" charset="utf-8">
~~~
Add markup:
~~~html
<div id="scheduler_here" class="dhx_cal_container" style='width:100%; height:100vh;'>
<div class="dhx_cal_navline">
<div class="dhx_cal_prev_button"> </div>
<div class="dhx_cal_next_button"> </div>
<div class="dhx_cal_today_button"></div>
<div class="dhx_cal_date"></div>
<div class="dhx_cal_tab" data-tab="day"></div>
<div class="dhx_cal_tab" data-tab="week"></div>
<div class="dhx_cal_tab" data-tab="month"></div>
</div>
<div class="dhx_cal_header"></div>
<div class="dhx_cal_data"></div>
</div>
~~~
And initialize:
~~~js
scheduler.config.first_hour = 6;
scheduler.config.last_hour = 19;
scheduler.init('scheduler_here', new Date(2024, 3, 20), "week");
scheduler.parse([
{ id:1, start_date: "2024-04-15 09:00", end_date: "2024-04-15 12:00", text:"English lesson" },
{ id:2, start_date: "2024-04-16 10:00", end_date: "2024-04-16 16:00", text:"Math exam" },
{ id:3, start_date: "2024-04-16 10:00", end_date: "2024-04-21 16:00", text:"Science lesson" },
{ id:4, start_date: "2024-04-17 16:00", end_date: "2024-04-17 17:00", text:"English lesson" },
{ id:5, start_date: "2024-04-18 09:00", end_date: "2024-04-18 17:00", text:"Usual event" }
]);
~~~
==> [Check the live demo](https://snippet.dhtmlx.com/jb8mc2c7?text=scheduler)
## Complete guides ##
- [Vue.js](https://dhtmlx.com/blog/use-dhtmlx-scheduler-vue-js-framework-demo/)
- [Angular](https://dhtmlx.com/blog/angular-dhtmlxscheduler-tutorial/)
- [Node](https://docs.dhtmlx.com/scheduler/howtostart_nodejs.html)
- ASP.NET
- [ASP.NET Core](https://docs.dhtmlx.com/scheduler/howtostart_dotnet_core.html)
- [ASP.NET MVC](https://docs.dhtmlx.com/scheduler/howtostart_dotnet.html)
- PHP
- [Plain PHP](https://docs.dhtmlx.com/scheduler/howtostart_plain_php.html)
- [Laravel](https://docs.dhtmlx.com/scheduler/howtostart_php_laravel.html)
- [Slim framework](https://docs.dhtmlx.com/scheduler/howtostart_php_slim4.html)
- [Ruby on Rails](https://docs.dhtmlx.com/scheduler/howtostart_ruby.html)
==> [Check all tutorials](https://docs.dhtmlx.com/scheduler/howtostart_guides.html)
## Features ##
- Responsive design and full support for touch screens
- Support for all modern browsers: Google Chrome, Safari, Firefox and MS Edge
- Configurable options - color shapes, time scales, custom form for recurring events, 25 languages, and RTL support

- Export service to XML, iCal, JSON, PDF, PNG, MS Project
- Dynamic loading
- PHP, ASP.NET, Java, CF [connectors](https://dhtmlx.com/docs/products/dhtmlxConnector/)
## License ##
dhtmlxScheduler v.7.2.5 Standard
To use dhtmlxScheduler in non-GPL projects (and get Pro version of the product), please obtain Commercial/Enterprise or Ultimate license on our site https://dhtmlx.com/docs/products/dhtmlxScheduler/#licensing or contact us at sales@dhtmlx.com
(c) XB Software Ltd.
## Useful links ##
- [Documentation](https://docs.dhtmlx.com/scheduler/)
- [Online samples](https://docs.dhtmlx.com/scheduler/samples/index.html)
- [Video tutorials](https://www.youtube.com/playlist?list=PLKS_XdyIGP4M1Jtg1qyjdJtCsqU1bqGsc)
- [DHTMLX Scheduler product page](https://dhtmlx.com/docs/products/dhtmlxScheduler/)
- [List of available integrations](https://dhtmlx.com/docs/products/integrations/)
- [Export services](https://dhtmlx.com/docs/products/dhtmlxScheduler/export.shtml)
- [Support forum](https://forum.dhtmlx.com/c/scheduler-all/scheduler)
## Follow us ##
Star our GitHub repo :star:
Take a [survey](https://docs.google.com/forms/d/e/1FAIpQLSee5YV4WBfZ17RJ-H1TpkBYYcXsZTr0xqNpOrhGrCLiaQeOJQ/viewform) to help us understand your needs :memo:
Read us on [Medium](https://medium.com/@dhtmlx) :newspaper:
Follow us on [Twitter](https://twitter.com/dhtmlx) :bird:
Like our page on [Facebook](https://www.facebook.com/dhtmlx/) :+1: