{"id":3040,"date":"2015-11-12T15:42:34","date_gmt":"2015-11-12T11:42:34","guid":{"rendered":"http:\/\/www.dhtmlx.com\/blog\/?p=3040"},"modified":"2026-04-28T16:29:50","modified_gmt":"2026-04-28T13:29:50","slug":"exploring-different-views-dhtmlxscheduler","status":"publish","type":"post","link":"https:\/\/dhtmlx.com\/blog\/exploring-different-views-dhtmlxscheduler\/","title":{"rendered":"Exploring Different Views of dhtmlxScheduler"},"content":{"rendered":"\n        <div class=\"info-block\">\n            <div class=\"info-icon\">\n                <svg viewBox=\"0 0 14 16\">\n                    <path fill-rule=\"evenodd\" d=\"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z\"><\/path>\n                <\/svg>\n\n                INFO\n            <\/div>\n\n            <div class=\"info-content\">\n                <p>\n                    For new clients, we recommend using <a href=\"https:\/\/dhtmlx.com\/docs\/products\/dhtmlxScheduler\/\" title=\"\">DHTMLX Scheduler<\/a> and \n                    integrating it with .NET by following our official <a href=\"https:\/\/docs.dhtmlx.com\/scheduler\/integrations\/dotnet\/howtostart-dotnet-core\/\" title=\"\" target=\"_blank\">guide<\/a>.                    \n                <\/p>\n            <\/div>\n        <\/div>\n    \n<p>Our <a href=\"https:\/\/dhtmlx.com\/docs\/products\/dhtmlxScheduler\/\" target=\"_blank\">dhtmlxScheduler<\/a> provides you with the different types of data visualization. Besides the popular options, such as different time scales like day or week, our scheduler gives you some additional possibilities. For example, you can combine your schedule with the map that can be pretty helpful in case you want to plan your business trip or vacations.<\/p>\n<blockquote><p>If you&#8217;re working with ASP.NET, you may look at DHTMLX Scheduler.NET, a Scheduler control that works both in ASP.NET MVC and Web Forms. It has the similar range of views that are described below.<\/p><\/blockquote>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3092\" src=\"https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2015\/11\/calendar_basic_views.png\" alt=\"calendar_basic_views\" width=\"600\" height=\"350\" srcset=\"https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2015\/11\/calendar_basic_views.png 600w, https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2015\/11\/calendar_basic_views-300x175.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>Usually, there are only three required steps that allow you to use the view you want:<\/p>\n<p>1. Include the required files to your project<br \/>\n2. Add the proper tab to your page, so you can switch to the view you want<br \/>\n3. Configure the view<\/p>\n<p>To understand how the views work, let&#8217;s start with the default ones.<br \/>\n<!--more--><\/p>\n<h3><b>Default Views: Day, Week, and Month<\/b><\/h3>\n<p>This <a href=\"https:\/\/docs.dhtmlx.com\/scheduler\/howtostart_guides.html\" target=\"_blank\">Getting Started Guide<\/a> can help you build the basic scheduler.<\/p>\n<p>As we mentioned before, you should add the proper files firstly:<\/p>\n<div class=\"codecolorer-container html4strict default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"html4strict codecolorer\"><span class=\"sc2\">&lt;<span class=\"kw2\">script<\/span> <span class=\"kw3\">src<\/span><span class=\"sy0\">=<\/span><span class=\"st0\">&quot;.\/codebase\/dhtmlxscheduler.js&quot;<\/span>&gt;&lt;<span class=\"sy0\">\/<\/span><span class=\"kw2\">script<\/span>&gt;<\/span><\/div><\/div>\n<p>And here&#8217;s a bunch of DIV containers you should use to make your application work:<\/p>\n<div class=\"codecolorer-container html4strict default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"html4strict codecolorer\">&lt;<span class=\"kw2\">div<\/span> <span class=\"kw3\">id<\/span><span class=\"sy0\">=<\/span><span class=\"st0\">&quot;scheduler_here&quot;<\/span> <span class=\"kw3\">class<\/span><span class=\"sy0\">=<\/span><span class=\"st0\">&quot;dhx_cal_container&quot;<\/span> <span class=\"kw3\">style<\/span><span class=\"sy0\">=<\/span><span class=\"st0\">&quot;width: 100%; height: 100%;&quot;<\/span>&gt;<br \/>\n&lt;<span class=\"kw2\">div<\/span> <span class=\"kw3\">class<\/span><span class=\"sy0\">=<\/span><span class=\"st0\">&quot;dhx_cal_navline&quot;<\/span>&gt;<br \/>\n&lt;<span class=\"kw2\">div<\/span> <span class=\"kw3\">class<\/span><span class=\"sy0\">=<\/span><span class=\"st0\">&quot;dhx_cal_prev_button&quot;<\/span>&gt;&lt;<span class=\"sy0\">\/<\/span><span class=\"kw2\">div<\/span>&gt;<br \/>\n&lt;<span class=\"kw2\">div<\/span> <span class=\"kw3\">class<\/span><span class=\"sy0\">=<\/span><span class=\"st0\">&quot;dhx_cal_next_button&quot;<\/span>&gt;&lt;<span class=\"sy0\">\/<\/span><span class=\"kw2\">div<\/span>&gt;<br \/>\n&lt;<span class=\"kw2\">div<\/span> <span class=\"kw3\">class<\/span><span class=\"sy0\">=<\/span><span class=\"st0\">&quot;dhx_cal_today_button&quot;<\/span>&gt;&lt;<span class=\"sy0\">\/<\/span><span class=\"kw2\">div<\/span>&gt;<br \/>\n&lt;<span class=\"kw2\">div<\/span> <span class=\"kw3\">class<\/span><span class=\"sy0\">=<\/span><span class=\"st0\">&quot;dhx_cal_date&quot;<\/span>&gt;&lt;<span class=\"sy0\">\/<\/span><span class=\"kw2\">div<\/span>&gt;<br \/>\n&lt;<span class=\"kw2\">div<\/span> <span class=\"kw3\">class<\/span><span class=\"sy0\">=<\/span><span class=\"st0\">&quot;dhx_cal_tab&quot;<\/span> <span class=\"kw3\">style<\/span><span class=\"sy0\">=<\/span><span class=\"st0\">&quot;right: 204px;&quot;<\/span>&gt;&lt;<span class=\"sy0\">\/<\/span><span class=\"kw2\">div<\/span>&gt;<br \/>\n&lt;<span class=\"kw2\">div<\/span> <span class=\"kw3\">class<\/span><span class=\"sy0\">=<\/span><span class=\"st0\">&quot;dhx_cal_tab&quot;<\/span> <span class=\"kw3\">style<\/span><span class=\"sy0\">=<\/span><span class=\"st0\">&quot;right: 140px;&quot;<\/span>&gt;&lt;<span class=\"sy0\">\/<\/span><span class=\"kw2\">div<\/span>&gt;<br \/>\n&lt;<span class=\"kw2\">div<\/span> <span class=\"kw3\">class<\/span><span class=\"sy0\">=<\/span><span class=\"st0\">&quot;dhx_cal_tab&quot;<\/span> <span class=\"kw3\">style<\/span><span class=\"sy0\">=<\/span><span class=\"st0\">&quot;right: 76px;&quot;<\/span>&gt;&lt;<span class=\"sy0\">\/<\/span><span class=\"kw2\">div<\/span>&gt;<br \/>\n&lt;<span class=\"sy0\">\/<\/span><span class=\"kw2\">div<\/span>&gt;<br \/>\n&lt;<span class=\"kw2\">div<\/span> <span class=\"kw3\">class<\/span><span class=\"sy0\">=<\/span><span class=\"st0\">&quot;dhx_cal_header&quot;<\/span>&gt;&lt;<span class=\"sy0\">\/<\/span><span class=\"kw2\">div<\/span>&gt;<br \/>\n&lt;<span class=\"kw2\">div<\/span> <span class=\"kw3\">class<\/span><span class=\"sy0\">=<\/span><span class=\"st0\">&quot;dhx_cal_data&quot;<\/span>&gt;&lt;<span class=\"sy0\">\/<\/span><span class=\"kw2\">div<\/span>&gt;<br \/>\n&lt;<span class=\"sy0\">\/<\/span><span class=\"kw2\">div<\/span>&gt;<\/div><\/div>\n<p>This code creates Next and Previous navigation buttons, shows you the current period, etc.<\/p>\n<p>Particularly, we&#8217;re interested in these three DIV&#8217;s:<\/p>\n<div class=\"codecolorer-container html4strict default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"html4strict codecolorer\">&lt;<span class=\"kw2\">div<\/span> <span class=\"kw3\">class<\/span><span class=\"sy0\">=<\/span><span class=\"st0\">&quot;dhx_cal_tab&quot;<\/span> <span class=\"kw3\">style<\/span><span class=\"sy0\">=<\/span><span class=\"st0\">&quot;right: 204px;&quot;<\/span>&gt;&lt;<span class=\"sy0\">\/<\/span><span class=\"kw2\">div<\/span>&gt;<br \/>\n&lt;<span class=\"kw2\">div<\/span> <span class=\"kw3\">class<\/span><span class=\"sy0\">=<\/span><span class=\"st0\">&quot;dhx_cal_tab&quot;<\/span> <span class=\"kw3\">style<\/span><span class=\"sy0\">=<\/span><span class=\"st0\">&quot;right: 140px;&quot;<\/span>&gt;&lt;<span class=\"sy0\">\/<\/span><span class=\"kw2\">div<\/span>&gt;<br \/>\n&lt;<span class=\"kw2\">div<\/span> <span class=\"kw3\">class<\/span><span class=\"sy0\">=<\/span><span class=\"st0\">&quot;dhx_cal_tab&quot;<\/span> <span class=\"kw3\">style<\/span><span class=\"sy0\">=<\/span><span class=\"st0\">&quot;right: 76px;&quot;<\/span>&gt;&lt;<span class=\"sy0\">\/<\/span><span class=\"kw2\">div<\/span>&gt;<\/div><\/div>\n<p>We&#8217;ve created three tabs that can be used to switch between the <strong>Day<\/strong>, <strong>Week<\/strong>, and <strong>Month<\/strong> views.<\/p>\n<p>During the initialization you can set the default options: an HTML container your calendar will be initialized in, the initial date of the scheduler, and the name of the initial view:<\/p>\n<div class=\"codecolorer-container javascript default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"javascript codecolorer\">&nbsp;scheduler.<span class=\"me1\">init<\/span><span class=\"br0\">&#40;<\/span><span class=\"st0\">'scheduler_here'<\/span><span class=\"sy0\">,<\/span> <span class=\"kw1\">new<\/span> <span class=\"kw4\">Date<\/span><span class=\"br0\">&#40;<\/span><span class=\"br0\">&#41;<\/span><span class=\"sy0\">,<\/span> <span class=\"st0\">'month'<\/span><span class=\"br0\">&#41;<\/span><span class=\"sy0\">;<\/span><\/div><\/div>\n<p>Here&#8217;s how the typical basic scheduler looks like:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3082\" src=\"https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2015\/11\/Basic-view.png\" alt=\"Basic view in Scheduler\" width=\"600\" height=\"331\" srcset=\"https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2015\/11\/Basic-view.png 600w, https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2015\/11\/Basic-view-300x165.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>As you can see, there are some previously created events rendered.<\/p>\n<p>You can use tabs to switch between the available views. Here&#8217;s the Week view:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3080\" src=\"https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2015\/11\/Week-view.png\" alt=\"Week view\" width=\"600\" height=\"270\" srcset=\"https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2015\/11\/Week-view.png 600w, https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2015\/11\/Week-view-300x135.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>And here&#8217;s how the Day View looks like:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3077\" src=\"https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2015\/11\/Day-View.png\" alt=\"Day View\" width=\"600\" height=\"388\" srcset=\"https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2015\/11\/Day-View.png 600w, https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2015\/11\/Day-View-300x194.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>You can double-click an empty cell to create a new event or drag the existing event through the calendar grid to change the date.<\/p>\n<p><strong>Learn more:<\/strong> <a href=\"https:\/\/docs.dhtmlx.com\/scheduler\/day_view.html\" target=\"_blank\">Day View<\/a>, <a href=\"https:\/\/docs.dhtmlx.com\/scheduler\/week_view.html\" target=\"_blank\">Week View<\/a>, <a href=\"https:\/\/docs.dhtmlx.com\/scheduler\/month_view.html\" target=\"_blank\">Month View<\/a>.<\/p>\n<h3><b>Extending the Period. The Year View<\/b><\/h3>\n<p>If one month is not long enough to plan your schedule, there&#8217;s always a possibility to use the <strong>Year View<\/strong>.<\/p>\n<p>First of all, you should include the required JavaScript file:<\/p>\n<div class=\"codecolorer-container html4strict default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"html4strict codecolorer\"><span class=\"sc2\">&lt;<span class=\"kw2\">script<\/span> <span class=\"kw3\">src<\/span><span class=\"sy0\">=<\/span><span class=\"st0\">&quot;.\/codebase\/ext\/dhtmlxscheduler_year_view.js&quot;<\/span>&gt;&lt;<span class=\"sy0\">\/<\/span><span class=\"kw2\">script<\/span>&gt;<\/span><\/div><\/div>\n<p>Then, add the proper tab to your page:<\/p>\n<div class=\"codecolorer-container html4strict default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"html4strict codecolorer\">&lt;<span class=\"kw2\">div<\/span> <span class=\"kw3\">class<\/span><span class=\"sy0\">=<\/span><span class=\"st0\">&quot;dhx_cal_tab&quot;<\/span> <span class=\"kw3\">style<\/span><span class=\"sy0\">=<\/span><span class=\"st0\">&quot;right: 280px;&quot;<\/span>&gt;&lt;<span class=\"sy0\">\/<\/span><span class=\"kw2\">div<\/span>&gt;<\/div><\/div>\n<p>And finally, set the label for the tab:<\/p>\n<div class=\"codecolorer-container javascript default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"javascript codecolorer\">scheduler.<span class=\"me1\">locale<\/span>.<span class=\"me1\">labels<\/span>.<span class=\"me1\">year_tab<\/span> <span class=\"sy0\">=<\/span><span class=\"st0\">&quot;Year&quot;<\/span><span class=\"sy0\">;<\/span><\/div><\/div>\n<p>That&#8217;s it. Now you can use the Year View:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3084\" src=\"https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2015\/11\/Year-View.png\" alt=\"Year View\" width=\"600\" height=\"320\" srcset=\"https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2015\/11\/Year-View.png 600w, https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2015\/11\/Year-View-300x160.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>The tooltip you can see at the screenshot above allows you to edit the event. Just click the &#8220;Details&#8221; icon and the edit window will appear on the screen.<\/p>\n<p><strong>Learn more:<\/strong> <a href=\"https:\/\/docs.dhtmlx.com\/scheduler\/year_view.html\" target=\"_blank\">Year View Documentation Page<\/a>.<\/p>\n<h3><b>All at Once. Agenda, Week Agenda, and Grid<\/b><\/h3>\n<p>Now, let&#8217;s talk about the views that allow you to see all available events in the form of different types of lists.<\/p>\n<p>The <strong>Agenda<\/strong> view displays a list of all upcoming events. To enable this view you should add the proper JavaScript to your project:<\/p>\n<div class=\"codecolorer-container html4strict default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"html4strict codecolorer\"><span class=\"sc2\">&lt;<span class=\"kw2\">script<\/span> <span class=\"kw3\">src<\/span><span class=\"sy0\">=<\/span><span class=\"st0\">&quot;.\/codebase\/ext\/dhtmlxscheduler_agenda_view.js&quot;<\/span>&gt;&lt;<span class=\"sy0\">\/<\/span><span class=\"kw2\">script<\/span>&gt;<\/span><\/div><\/div>\n<p>The next step is to add the tab to your page:<\/p>\n<div class=\"codecolorer-container html4strict default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"html4strict codecolorer\">&lt;<span class=\"kw2\">div<\/span> <span class=\"kw3\">class<\/span><span class=\"sy0\">=<\/span><span class=\"st0\">&quot;dhx_cal_tab&quot;<\/span> <span class=\"kw3\">style<\/span><span class=\"sy0\">=<\/span><span class=\"st0\">&quot;right: 280px;&quot;<\/span>&gt;&lt;<span class=\"sy0\">\/<\/span><span class=\"kw2\">div<\/span>&gt;<\/div><\/div>\n<p>As a result, you&#8217;ll get a list that contains all your tasks:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3076\" src=\"https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2015\/11\/Agenda.png\" alt=\"Agenda\" width=\"600\" height=\"282\" srcset=\"https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2015\/11\/Agenda.png 600w, https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2015\/11\/Agenda-300x141.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>You can double-click on an empty self of this list to create a new event or click the &#8220;Details&#8221; button to edit the existing ones.<\/p>\n<p><strong>Learn more:<\/strong> <a href=\"https:\/\/docs.dhtmlx.com\/scheduler\/agenda_view.html\" target=\"_blank\">Agenda View Documentation Page<\/a><\/p>\n<p>The <strong>Week Agenda<\/strong> view is a combination of two views: Week and Agenda. This view shows you a list of upcoming events within a week.<\/p>\n<p>Here&#8217;s the required JavaScript file:<\/p>\n<div class=\"codecolorer-container html4strict default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"html4strict codecolorer\">&lt;<span class=\"kw2\">script<\/span> <span class=\"kw3\">src<\/span><span class=\"sy0\">=<\/span><span class=\"st0\">&quot;.\/codebase\/ext\/dhtmlxscheduler_week_agenda.js&quot;<\/span>&gt;&lt;<span class=\"sy0\">\/<\/span><span class=\"kw2\">script<\/span>&gt;<\/div><\/div>\n<p>And here&#8217;s the code that adds the proper tab:<\/p>\n<div class=\"codecolorer-container html4strict default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"html4strict codecolorer\">&lt;<span class=\"kw2\">div<\/span> <span class=\"kw3\">class<\/span><span class=\"sy0\">=<\/span><span class=\"st0\">&quot;dhx_cal_tab&quot;<\/span> <span class=\"kw3\">style<\/span><span class=\"sy0\">=<\/span><span class=\"st0\">&quot;right: 280px;&quot;<\/span>&gt;&lt;<span class=\"sy0\">\/<\/span><span class=\"kw2\">div<\/span>&gt;<\/div><\/div>\n<p>The result is shown below:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3079\" src=\"https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2015\/11\/Week-Agenda.png\" alt=\"Week Agenda\" width=\"600\" height=\"266\" srcset=\"https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2015\/11\/Week-Agenda.png 600w, https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2015\/11\/Week-Agenda-300x133.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>As you can see, this view shows you the whole week at once. You can double-click the empty cell to create a new event. Double-clicking the existing event will open the edit window. Another handy feature is events highlighting. You can click the event to select it. After you select the long term event, all related records will be highlighted.<\/p>\n<p>Here&#8217;s how it looks like:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3083\" src=\"https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2015\/11\/Highlighted-agenda.png\" alt=\"Highlighted agenda\" width=\"600\" height=\"302\" srcset=\"https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2015\/11\/Highlighted-agenda.png 600w, https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2015\/11\/Highlighted-agenda-300x151.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p><strong>Learn more:<\/strong> <a href=\"https:\/\/docs.dhtmlx.com\/scheduler\/weekagenda_view.html\" target=\"_blank\">Week Agenda View Documentation Page<\/a><\/p>\n<p>The <strong>Grid View<\/strong> looks similar to the Agenda view. But in this case, you can choose the data you want to display.<\/p>\n<p>Imagine that you wish to add some comments to your calendar. Here&#8217;s how the possible array of events will look like:<\/p>\n<div class=\"codecolorer-container javascript default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"javascript codecolorer\"><span class=\"kw1\">var<\/span> events <span class=\"sy0\">=<\/span> <span class=\"br0\">&#91;<\/span><br \/>\n<span class=\"br0\">&#123;<\/span>id<span class=\"sy0\">:<\/span><span class=\"nu0\">1<\/span><span class=\"sy0\">,<\/span> text<span class=\"sy0\">:<\/span><span class=\"st0\">&quot;Meeting&quot;<\/span><span class=\"sy0\">,<\/span> start_date<span class=\"sy0\">:<\/span><span class=\"st0\">&quot;2015-10-13 14:00&quot;<\/span><span class=\"sy0\">,<\/span><br \/>\nend_date<span class=\"sy0\">:<\/span><span class=\"st0\">&quot;2015-10-13 17:00&quot;<\/span><span class=\"sy0\">,<\/span> comment<span class=\"sy0\">:<\/span><span class=\"st0\">&quot;Project release issues&quot;<\/span><span class=\"br0\">&#125;<\/span><span class=\"sy0\">,<\/span><br \/>\n<span class=\"br0\">&#123;<\/span>id<span class=\"sy0\">:<\/span><span class=\"nu0\">3<\/span><span class=\"sy0\">,<\/span> text<span class=\"sy0\">:<\/span><span class=\"st0\">&quot;Interview&quot;<\/span><span class=\"sy0\">,<\/span> start_date<span class=\"sy0\">:<\/span><span class=\"st0\">&quot;2015-10-24 09:00&quot;<\/span><span class=\"sy0\">,<\/span><br \/>\nend_date<span class=\"sy0\">:<\/span><span class=\"st0\">&quot;2015-10-24 10:00&quot;<\/span><span class=\"sy0\">,<\/span> comment<span class=\"sy0\">:<\/span><span class=\"st0\">&quot;Remember to smile!&quot;<\/span><span class=\"br0\">&#125;<\/span><span class=\"sy0\">,<\/span><br \/>\n<span class=\"br0\">&#123;<\/span><span class=\"coMULTI\">\/* some more events *\/<\/span><span class=\"br0\">&#125;<\/span><br \/>\n<span class=\"br0\">&#93;<\/span><span class=\"sy0\">;<\/span><\/div><\/div>\n<p>Let&#8217;s add the Grid view to our application. First of all, the required file:<\/p>\n<div class=\"codecolorer-container html4strict default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"html4strict codecolorer\"><span class=\"sc2\">&lt;<span class=\"kw2\">script<\/span> <span class=\"kw3\">src<\/span><span class=\"sy0\">=<\/span><span class=\"st0\">&quot;.\/codebase\/ext\/dhtmlxscheduler_grid_view.js&quot;<\/span>&gt;&lt;<span class=\"sy0\">\/<\/span><span class=\"kw2\">script<\/span>&gt;<\/span><\/div><\/div>\n<p>Now you should add the Grid tab:<\/p>\n<div class=\"codecolorer-container html4strict default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"html4strict codecolorer\">&lt;<span class=\"kw2\">div<\/span> <span class=\"kw3\">class<\/span><span class=\"sy0\">=<\/span><span class=\"st0\">&quot;dhx_cal_tab&quot;<\/span> <span class=\"kw3\">style<\/span><span class=\"sy0\">=<\/span><span class=\"st0\">&quot;right: 300px;&quot;<\/span>&gt;&lt;<span class=\"sy0\">\/<\/span><span class=\"kw2\">div<\/span>&gt;<\/div><\/div>\n<p>Configure the date format and change the tab label if you want to:<\/p>\n<div class=\"codecolorer-container javascript default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"javascript codecolorer\">&nbsp;scheduler.<span class=\"me1\">config<\/span>.<span class=\"me1\">xml_date<\/span> <span class=\"sy0\">=<\/span> <span class=\"st0\">&quot;%Y-%m-%d %H:%i&quot;<\/span><span class=\"sy0\">;<\/span><br \/>\n&nbsp;scheduler.<span class=\"me1\">locale<\/span>.<span class=\"me1\">labels<\/span>.<span class=\"me1\">grid_tab<\/span> <span class=\"sy0\">=<\/span> <span class=\"st0\">&quot;My Grid&quot;<\/span><span class=\"sy0\">;<\/span><\/div><\/div>\n<p>Now, the most important part. We must configure the grid. You should call the createGridView method to do so:<\/p>\n<div class=\"codecolorer-container javascript default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"javascript codecolorer\">&nbsp;scheduler.<span class=\"me1\">createGridView<\/span><span class=\"br0\">&#40;<\/span><span class=\"br0\">&#123;<\/span><br \/>\n&nbsp;name<span class=\"sy0\">:<\/span><span class=\"st0\">&quot;grid&quot;<\/span><span class=\"sy0\">,<\/span><br \/>\n&nbsp;fields<span class=\"sy0\">:<\/span><span class=\"br0\">&#91;<\/span> <span class=\"coMULTI\">\/* defines columns of the grid *\/<\/span><br \/>\n&nbsp;<span class=\"br0\">&#123;<\/span>id<span class=\"sy0\">:<\/span><span class=\"st0\">&quot;id&quot;<\/span><span class=\"sy0\">,<\/span> label<span class=\"sy0\">:<\/span><span class=\"st0\">&quot;ID&quot;<\/span><span class=\"sy0\">,<\/span> sort<span class=\"sy0\">:<\/span><span class=\"st0\">&quot;int&quot;<\/span><span class=\"br0\">&#125;<\/span><span class=\"sy0\">,<\/span><br \/>\n&nbsp;<span class=\"br0\">&#123;<\/span>id<span class=\"sy0\">:<\/span><span class=\"st0\">&quot;date&quot;<\/span><span class=\"sy0\">,<\/span> label<span class=\"sy0\">:<\/span><span class=\"st0\">&quot;Date&quot;<\/span><span class=\"sy0\">,<\/span> sort<span class=\"sy0\">:<\/span><span class=\"st0\">&quot;date&quot;<\/span><span class=\"br0\">&#125;<\/span><span class=\"sy0\">,<\/span><br \/>\n&nbsp;<span class=\"br0\">&#123;<\/span>id<span class=\"sy0\">:<\/span><span class=\"st0\">&quot;text&quot;<\/span><span class=\"sy0\">,<\/span> label<span class=\"sy0\">:<\/span><span class=\"st0\">&quot;Event&quot;<\/span><span class=\"sy0\">,<\/span> sort<span class=\"sy0\">:<\/span><span class=\"st0\">&quot;str&quot;<\/span><span class=\"br0\">&#125;<\/span><span class=\"sy0\">,<\/span><br \/>\n&nbsp;<span class=\"br0\">&#123;<\/span>id<span class=\"sy0\">:<\/span><span class=\"st0\">&quot;comment&quot;<\/span><span class=\"sy0\">,<\/span> label<span class=\"sy0\">:<\/span><span class=\"st0\">&quot;Comment&quot;<\/span><span class=\"sy0\">,<\/span> sort<span class=\"sy0\">:<\/span><span class=\"st0\">&quot;str&quot;<\/span><span class=\"br0\">&#125;<\/span><br \/>\n&nbsp;<span class=\"br0\">&#93;<\/span><span class=\"sy0\">,<\/span><br \/>\n&nbsp;<span class=\"br0\">&#125;<\/span><span class=\"br0\">&#41;<\/span><span class=\"sy0\">;<\/span><\/div><\/div>\n<p>Here&#8217;s an explanation of what we&#8217;ve done. This code will create new grid with name grid that will contain a bunch of columns that the fields property contains. In this case, we have used the id property to choose what data we you want to display. It can be the ID of the event, its beginning date, or even a comment that you&#8217;ve added. The second property in our example is label. It defines the label for the column. The last property, sort, specifies the type of content that will be displayed in this column. It specifies the way of sorting. Possible values are ind, date, and str.<\/p>\n<p>The result is shown below:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3081\" src=\"https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2015\/11\/Grid-view.png\" alt=\"Grid view\" width=\"600\" height=\"287\" srcset=\"https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2015\/11\/Grid-view.png 600w, https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2015\/11\/Grid-view-300x143.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>Besides this minimal amount of properties, many others can help you configure your application the way you want. You can set the with of a column, choose the date range, use custom sorting functions, etc.<\/p>\n<p><strong>Learn more:<\/strong> <a href=\"https:\/\/docs.dhtmlx.com\/scheduler\/grid_view.html\" target=\"_blank\">Grid View Documentation Page<\/a><\/p>\n<h3><b>Timeline View and Units View<\/b><\/h3>\n<p>These views allow you to visualize events horizontally with separate timelines arranged from left to right (Timeline View) or vertically<\/p>\n<p>Let&#8217;s start from the <strong>Timeline View<\/strong>.<\/p>\n<p>Add the proper JavaScript file:<\/p>\n<div class=\"codecolorer-container html4strict default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"html4strict codecolorer\"><span class=\"sc2\">&lt;<span class=\"kw2\">script<\/span> <span class=\"kw3\">src<\/span><span class=\"sy0\">=<\/span><span class=\"st0\">&quot;.\/codebase\/ext\/dhtmlxscheduler_timeline.js&quot;<\/span>&gt;&lt;<span class=\"sy0\">\/<\/span><span class=\"kw2\">script<\/span>&gt;<\/span><\/div><\/div>\n<p>Then add the tab to your page:<\/p>\n<div class=\"codecolorer-container html4strict default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"html4strict codecolorer\">&lt;<span class=\"kw2\">div<\/span> <span class=\"kw3\">class<\/span><span class=\"sy0\">=<\/span><span class=\"st0\">&quot;dhx_cal_tab&quot;<\/span> <span class=\"kw3\">style<\/span><span class=\"sy0\">=<\/span><span class=\"st0\">&quot;right: 280px;&quot;<\/span>&gt;&lt;<span class=\"sy0\">\/<\/span><span class=\"kw2\">div<\/span>&gt;<\/div><\/div>\n<p>and set its label:<\/p>\n<div class=\"codecolorer-container javascript default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"javascript codecolorer\">scheduler.<span class=\"me1\">locale<\/span>.<span class=\"me1\">labels<\/span>.<span class=\"me1\">timeline_tab<\/span> <span class=\"sy0\">=<\/span><span class=\"st0\">&quot;Timeline&quot;<\/span><span class=\"sy0\">;<\/span><\/div><\/div>\n<p>Now you can call the createTimelineView method to configure the view<\/p>\n<div class=\"codecolorer-container javascript default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"javascript codecolorer\">scheduler.<span class=\"me1\">createTimelineView<\/span><span class=\"br0\">&#40;<\/span><span class=\"br0\">&#123;<\/span><br \/>\nname<span class=\"sy0\">:<\/span><span class=\"st0\">&quot;timeline&quot;<\/span><span class=\"sy0\">,<\/span><br \/>\nx_unit<span class=\"sy0\">:<\/span><span class=\"st0\">&quot;minute&quot;<\/span><span class=\"sy0\">,<\/span><span class=\"co1\">\/\/measuring unit of the X-Axis.<\/span><br \/>\nx_date<span class=\"sy0\">:<\/span><span class=\"st0\">&quot;%H:%i&quot;<\/span><span class=\"sy0\">,<\/span> <span class=\"co1\">\/\/date format of the X-Axis<\/span><br \/>\nx_step<span class=\"sy0\">:<\/span><span class=\"nu0\">30<\/span><span class=\"sy0\">,<\/span> <span class=\"co1\">\/\/X-Axis step in 'x_unit's<\/span><br \/>\nx_size<span class=\"sy0\">:<\/span><span class=\"nu0\">24<\/span><span class=\"sy0\">,<\/span> <span class=\"co1\">\/\/X-Axis length specified as the total number of 'x_step's<\/span><br \/>\nx_start<span class=\"sy0\">:<\/span><span class=\"nu0\">16<\/span><span class=\"sy0\">,<\/span> <span class=\"co1\">\/\/X-Axis offset in 'x_unit's<\/span><br \/>\nx_length<span class=\"sy0\">:<\/span><span class=\"nu0\">48<\/span><span class=\"sy0\">,<\/span> <span class=\"co1\">\/\/number of 'x_step's that will be scrolled at a time<\/span><br \/>\ny_unit<span class=\"sy0\">:<\/span> <span class=\"co1\">\/\/sections of the view (titles of Y-Axis)<\/span><br \/>\n<span class=\"br0\">&#91;<\/span><span class=\"br0\">&#123;<\/span>key<span class=\"sy0\">:<\/span><span class=\"nu0\">1<\/span><span class=\"sy0\">,<\/span> label<span class=\"sy0\">:<\/span><span class=\"st0\">&quot;Section A&quot;<\/span><span class=\"br0\">&#125;<\/span><span class=\"sy0\">,<\/span><br \/>\n<span class=\"br0\">&#123;<\/span>key<span class=\"sy0\">:<\/span><span class=\"nu0\">2<\/span><span class=\"sy0\">,<\/span> label<span class=\"sy0\">:<\/span><span class=\"st0\">&quot;Section B&quot;<\/span><span class=\"br0\">&#125;<\/span><span class=\"sy0\">,<\/span><br \/>\n<span class=\"br0\">&#123;<\/span>key<span class=\"sy0\">:<\/span><span class=\"nu0\">3<\/span><span class=\"sy0\">,<\/span> label<span class=\"sy0\">:<\/span><span class=\"st0\">&quot;Section C&quot;<\/span><span class=\"br0\">&#125;<\/span><span class=\"sy0\">,<\/span><br \/>\n<span class=\"br0\">&#123;<\/span>key<span class=\"sy0\">:<\/span><span class=\"nu0\">4<\/span><span class=\"sy0\">,<\/span> label<span class=\"sy0\">:<\/span><span class=\"st0\">&quot;Section D&quot;<\/span><span class=\"br0\">&#125;<\/span><span class=\"br0\">&#93;<\/span><span class=\"sy0\">,<\/span><br \/>\ny_property<span class=\"sy0\">:<\/span><span class=\"st0\">&quot;section_id&quot;<\/span><span class=\"sy0\">,<\/span> <span class=\"co1\">\/\/mapped data property<\/span><br \/>\nrender<span class=\"sy0\">:<\/span><span class=\"st0\">&quot;bar&quot;<\/span> <span class=\"co1\">\/\/view mode<\/span><br \/>\n<span class=\"br0\">&#125;<\/span><span class=\"br0\">&#41;<\/span><span class=\"sy0\">;<\/span><\/div><\/div>\n<p>It&#8217;s big enough but have no fear. Check the comments. To help you better understand what&#8217;s going on here&#8217;s little explanation. Besides the X-Axis configuration, you should also define the x-unit property that defines how many areas your calendar will consist of. In this example above we&#8217;ve created four areas with labels Section A, Section B, etc. The render property defines the view mode. There are Bar, Cell, Tree, and Days options available. The y_property property will help you attach an event to a proper timeline area. For example, if you want to add an event to Section A you should add the following property: y_property: &#8220;1&#8221;.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3087\" src=\"https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2015\/11\/Timenine-View.png\" alt=\"Timeline View\" width=\"600\" height=\"326\" srcset=\"https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2015\/11\/Timenine-View.png 600w, https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2015\/11\/Timenine-View-300x163.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p><strong>Learn more:<\/strong> <a href=\"https:\/\/docs.dhtmlx.com\/scheduler\/timeline_view.html\" target=\"_blank\">Timeline View Documentation Page<\/a><\/p>\n<p>The <strong>Units View<\/strong> looks pretty much the same. The main difference, in this case, is that you can configure the X-Axis.<\/p>\n<p>By tradition, add the JavaScript file:<\/p>\n<div class=\"codecolorer-container html4strict default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"html4strict codecolorer\"><span class=\"sc2\">&lt;<span class=\"kw2\">script<\/span> <span class=\"kw3\">src<\/span><span class=\"sy0\">=<\/span><span class=\"st0\">&quot;.\/codebase\/ext\/dhtmlxscheduler_units.js&quot;<\/span>&gt;&lt;<span class=\"sy0\">\/<\/span><span class=\"kw2\">script<\/span>&gt;<\/span><\/div><\/div>\n<p>and add the tab to your page:<\/p>\n<div class=\"codecolorer-container html4strict default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"html4strict codecolorer\">&lt;<span class=\"kw2\">div<\/span> <span class=\"kw3\">class<\/span><span class=\"sy0\">=<\/span><span class=\"st0\">&quot;dhx_cal_tab&quot;<\/span> <span class=\"kw3\">style<\/span><span class=\"sy0\">=<\/span><span class=\"st0\">&quot;right: 280px;&quot;<\/span>&gt;&lt;<span class=\"sy0\">\/<\/span><span class=\"kw2\">div<\/span>&gt;<\/div><\/div>\n<p>You can use this code to set the label fir the tab:<\/p>\n<div class=\"codecolorer-container javascript default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"javascript codecolorer\">&nbsp;scheduler.<span class=\"me1\">locale<\/span>.<span class=\"me1\">labels<\/span>.<span class=\"me1\">unit_tab<\/span> <span class=\"sy0\">=<\/span> <span class=\"st0\">&quot;Unit&quot;<\/span><\/div><\/div>\n<p>To configure how the X-Axis will look like, you should use the createUnitsView method:<\/p>\n<div class=\"codecolorer-container javascript default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"javascript codecolorer\">&nbsp;scheduler.<span class=\"me1\">createUnitsView<\/span><span class=\"br0\">&#40;<\/span><span class=\"br0\">&#123;<\/span><br \/>\n&nbsp;name<span class=\"sy0\">:<\/span><span class=\"st0\">&quot;unit&quot;<\/span><span class=\"sy0\">,<\/span><br \/>\n&nbsp;property<span class=\"sy0\">:<\/span><span class=\"st0\">&quot;unit_id&quot;<\/span><span class=\"sy0\">,<\/span> <span class=\"co1\">\/\/the mapped data property<\/span><br \/>\n&nbsp;list<span class=\"sy0\">:<\/span><span class=\"br0\">&#91;<\/span> <span class=\"co1\">\/\/defines the units of the view<\/span><br \/>\n&nbsp;<span class=\"br0\">&#123;<\/span>key<span class=\"sy0\">:<\/span><span class=\"nu0\">1<\/span><span class=\"sy0\">,<\/span> label<span class=\"sy0\">:<\/span><span class=\"st0\">&quot;Section A&quot;<\/span><span class=\"br0\">&#125;<\/span><span class=\"sy0\">,<\/span><br \/>\n&nbsp;<span class=\"br0\">&#123;<\/span>key<span class=\"sy0\">:<\/span><span class=\"nu0\">2<\/span><span class=\"sy0\">,<\/span> label<span class=\"sy0\">:<\/span><span class=\"st0\">&quot;Section B&quot;<\/span><span class=\"br0\">&#125;<\/span><span class=\"sy0\">,<\/span><br \/>\n&nbsp;<span class=\"br0\">&#123;<\/span>key<span class=\"sy0\">:<\/span><span class=\"nu0\">3<\/span><span class=\"sy0\">,<\/span> label<span class=\"sy0\">:<\/span><span class=\"st0\">&quot;Section C&quot;<\/span><span class=\"br0\">&#125;<\/span><br \/>\n&nbsp;<span class=\"br0\">&#93;<\/span><br \/>\n&nbsp;<span class=\"br0\">&#125;<\/span><span class=\"br0\">&#41;<\/span><span class=\"sy0\">;<\/span><\/div><\/div>\n<p>This code will create a new view with name units. property defines the property name that can be used to define which unit will contain the proper event. The list array contains the key property that you should use to attach the event to the unit, and the label property that defines unit&#8217;s label.<\/p>\n<p>That&#8217;s all you need to do for the basic configuration. The final step is to change the way you define your event. All you need to do is to add new property that will define which unit this event belongs. For example:<\/p>\n<div class=\"codecolorer-container javascript default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"javascript codecolorer\">&nbsp;<span class=\"kw1\">var<\/span> events <span class=\"sy0\">=<\/span> <span class=\"br0\">&#91;<\/span><br \/>\n&nbsp;<span class=\"br0\">&#123;<\/span>id<span class=\"sy0\">:<\/span><span class=\"nu0\">1<\/span><span class=\"sy0\">,<\/span> text<span class=\"sy0\">:<\/span><span class=\"st0\">&quot;Meeting&quot;<\/span><span class=\"sy0\">,<\/span> start_date<span class=\"sy0\">:<\/span><span class=\"st0\">&quot;2015-10-13 14:00&quot;<\/span><span class=\"sy0\">,<\/span><br \/>\n&nbsp;end_date<span class=\"sy0\">:<\/span><span class=\"st0\">&quot;2015-10-13 17:00&quot;<\/span><span class=\"sy0\">,<\/span> unit_id<span class=\"sy0\">:<\/span> <span class=\"st0\">&quot;1&quot;<\/span><span class=\"br0\">&#125;<\/span><span class=\"sy0\">,<\/span><br \/>\n&nbsp;<span class=\"br0\">&#123;<\/span>id<span class=\"sy0\">:<\/span><span class=\"nu0\">2<\/span><span class=\"sy0\">,<\/span> text<span class=\"sy0\">:<\/span><span class=\"st0\">&quot;Interview&quot;<\/span><span class=\"sy0\">,<\/span> start_date<span class=\"sy0\">:<\/span><span class=\"st0\">&quot;2015-10-24 09:00&quot;<\/span><span class=\"sy0\">,<\/span><br \/>\n&nbsp;end_date<span class=\"sy0\">:<\/span><span class=\"st0\">&quot;2015-10-24 10:00&quot;<\/span><span class=\"sy0\">,<\/span> unit_id<span class=\"sy0\">:<\/span><span class=\"st0\">&quot;2&quot;<\/span><span class=\"br0\">&#125;<\/span><span class=\"sy0\">,<\/span><br \/>\n&nbsp;<span class=\"br0\">&#123;<\/span> <span class=\"coMULTI\">\/* more events *\/<\/span> <span class=\"br0\">&#125;<\/span><br \/>\n&nbsp;<span class=\"br0\">&#93;<\/span><span class=\"sy0\">;<\/span><\/div><\/div>\n<p>In this case, unit_id: &#8220;1&#8221; means that the first event will be placed within the unit with the key: 1 property.<\/p>\n<p>Here&#8217;s how this view looks like:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3078\" src=\"https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2015\/11\/Unit-View.png\" alt=\"Unit View\" width=\"600\" height=\"366\" srcset=\"https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2015\/11\/Unit-View.png 600w, https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2015\/11\/Unit-View-300x183.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>Besides this very basic functionality, Units View allows you to assign events to several units, or, for example, display units for multiple days. Better check the documentation page to learn how you can configure it.<\/p>\n<p><strong>Learn more:<\/strong> <a href=\"https:\/\/docs.dhtmlx.com\/scheduler\/units_view.html\" target=\"_blank\">Units View Documentation Page<\/a><\/p>\n<h3><b>Map View<\/b><\/h3>\n<p>If you travel a lot, this view will be pretty helpful, since it provides you with possibility to combine the event description wit the marker on the map. This view uses Google Maps, so this time besides the Map View JavaScript file, we should include the required Google Maps file:<\/p>\n<div class=\"codecolorer-container html4strict default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"html4strict codecolorer\"><span class=\"sc2\">&lt;<span class=\"kw2\">script<\/span> <span class=\"kw3\">src<\/span><span class=\"sy0\">=<\/span><span class=\"st0\">&quot;https:\/\/maps.google.com\/maps\/api\/js?sensor=false&quot;<\/span>&gt;&lt;<span class=\"sy0\">\/<\/span><span class=\"kw2\">script<\/span>&gt;<\/span><br \/>\n<span class=\"sc2\">&lt;<span class=\"kw2\">script<\/span> <span class=\"kw3\">src<\/span><span class=\"sy0\">=<\/span><span class=\"st0\">&quot;.\/codebase\/ext\/dhtmlxscheduler_map_view.js&quot;<\/span>&gt;&lt;<span class=\"sy0\">\/<\/span><span class=\"kw2\">script<\/span>&gt;<\/span><\/div><\/div>\n<p>Don&#8217;t forget to add the Map view tab to your page:<\/p>\n<div class=\"codecolorer-container html4strict default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"html4strict codecolorer\">&lt;<span class=\"kw2\">div<\/span> <span class=\"kw3\">class<\/span><span class=\"sy0\">=<\/span><span class=\"st0\">&quot;dhx_cal_tab&quot;<\/span> <span class=\"kw3\">style<\/span><span class=\"sy0\">=<\/span><span class=\"st0\">&quot;right: 280px;&quot;<\/span>&gt;&lt;<span class=\"sy0\">\/<\/span><span class=\"kw2\">div<\/span>&gt;<\/div><\/div>\n<p>And remember that it&#8217;s alway possible to rename it:<\/p>\n<div class=\"codecolorer-container javascript default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"javascript codecolorer\">scheduler.<span class=\"me1\">locale<\/span>.<span class=\"me1\">labels<\/span>.<span class=\"me1\">map_tab<\/span> <span class=\"sy0\">=<\/span> <span class=\"st0\">&quot;My Map&quot;<\/span><span class=\"sy0\">;<\/span><\/div><\/div>\n<p>The next step is Lightbox configuration. Lightbox is an edit form used to alter the event&#8217;s details. Here&#8217;s how it looks like by default:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3086\" src=\"https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2015\/11\/Lightbox.png\" alt=\"Lightbox\" width=\"600\" height=\"339\" srcset=\"https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2015\/11\/Lightbox.png 600w, https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2015\/11\/Lightbox-300x169.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>As you can see, there&#8217;s no possibility to specify the location. Let&#8217;s fix it:<\/p>\n<div class=\"codecolorer-container javascript default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"javascript codecolorer\">scheduler.<span class=\"me1\">config<\/span>.<span class=\"me1\">lightbox<\/span>.<span class=\"me1\">sections<\/span><span class=\"sy0\">=<\/span><span class=\"br0\">&#91;<\/span><br \/>\n<span class=\"br0\">&#123;<\/span>name<span class=\"sy0\">:<\/span><span class=\"st0\">&quot;description&quot;<\/span><span class=\"sy0\">,<\/span> height<span class=\"sy0\">:<\/span><span class=\"nu0\">50<\/span><span class=\"sy0\">,<\/span>map_to<span class=\"sy0\">:<\/span><span class=\"st0\">&quot;text&quot;<\/span><span class=\"sy0\">,<\/span> type<span class=\"sy0\">:<\/span><span class=\"st0\">&quot;textarea&quot;<\/span><span class=\"sy0\">,<\/span> focus<span class=\"sy0\">:<\/span><span class=\"kw2\">true<\/span><span class=\"br0\">&#125;<\/span><span class=\"sy0\">,<\/span><br \/>\n<span class=\"coMULTI\">\/* adding new textarea *\/<\/span><br \/>\n<span class=\"br0\">&#123;<\/span>name<span class=\"sy0\">:<\/span><span class=\"st0\">&quot;location&quot;<\/span><span class=\"sy0\">,<\/span> height<span class=\"sy0\">:<\/span><span class=\"nu0\">43<\/span><span class=\"sy0\">,<\/span> map_to<span class=\"sy0\">:<\/span><span class=\"st0\">&quot;event_location&quot;<\/span><span class=\"sy0\">,<\/span> type<span class=\"sy0\">:<\/span><span class=\"st0\">&quot;textarea&quot;<\/span><span class=\"br0\">&#125;<\/span><span class=\"sy0\">,<\/span><br \/>\n<span class=\"br0\">&#123;<\/span>name<span class=\"sy0\">:<\/span><span class=\"st0\">&quot;time&quot;<\/span><span class=\"sy0\">,<\/span> height<span class=\"sy0\">:<\/span><span class=\"nu0\">72<\/span><span class=\"sy0\">,<\/span> type<span class=\"sy0\">:<\/span><span class=\"st0\">&quot;time&quot;<\/span><span class=\"sy0\">,<\/span> map_to<span class=\"sy0\">:<\/span><span class=\"st0\">&quot;auto&quot;<\/span><span class=\"br0\">&#125;<\/span><br \/>\n<span class=\"br0\">&#93;<\/span><span class=\"sy0\">;<\/span><\/div><\/div>\n<p>Done. Now you able to add the location information to your events.<\/p>\n<p>Here&#8217;s how the Map view works:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3088\" src=\"https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2015\/11\/Map-View.png\" alt=\"Map View\" width=\"600\" height=\"349\" srcset=\"https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2015\/11\/Map-View.png 600w, https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2015\/11\/Map-View-300x174.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>There are two areas: a list of upcoming events and Google Map that shows the event\u2019s location. To create a new event, you can double click on an empty cell of the list or the desired location on the map:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3075\" src=\"https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2015\/11\/Lightbox-in-Map-View.png\" alt=\"Lightbox in Map View\" width=\"600\" height=\"270\" srcset=\"https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2015\/11\/Lightbox-in-Map-View.png 600w, https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2015\/11\/Lightbox-in-Map-View-300x135.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>After you create the event, it will appear on the list, and a new marker will be added to the map. You can click on the &#8216;details&#8217; icon on the left side of the event&#8217;s description to edit or delete it. To overview the event, click the marker:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3085\" src=\"https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2015\/11\/Marker-in-Map-View.png\" alt=\"Marker in Map View\" width=\"600\" height=\"287\" srcset=\"https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2015\/11\/Marker-in-Map-View.png 600w, https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2015\/11\/Marker-in-Map-View-300x143.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p><strong>Learn more:<\/strong> <a href=\"https:\/\/docs.dhtmlx.com\/scheduler\/map_view.html\" target=\"_blank\">Map View Documentation Page<\/a><\/p>\n<blockquote><p>dhtmlxScheduler is a <a href=\"https:\/\/dhtmlx.com\/docs\/products\/dhtmlxScheduler\/\" target=\"_blank\">JavaScript Schedule Calendar<\/a> that gives you the ability to develop Google-like calendar in your application. Using dhtmlxScheduler, you may build agenda, appointment, week calendars, and more others. Get learn about our JavaScript scheduler control in its <a href=\"https:\/\/docs.dhtmlx.com\/scheduler\/\" target=\"_blank\">documentation<\/a> and <a href=\"https:\/\/dhtmlx.com\/docs\/products\/dhtmlxScheduler\/download.shtml\" target=\"_blank\">start using it now<\/a>.<\/p><\/blockquote>\n<p><a href=\"\/\/dhtmlx.com\/docs\/products\/dhtmlxScheduler\/download.shtml\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3704\" src=\"https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2013\/11\/download-scheduler-banner.png\" alt=\"download scheduler\" width=\"900\" height=\"300\" srcset=\"https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2013\/11\/download-scheduler-banner.png 900w, https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2013\/11\/download-scheduler-banner-300x100.png 300w, https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2013\/11\/download-scheduler-banner-768x256.png 768w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Our dhtmlxScheduler provides you with the different types of data visualization. Besides the popular options, such as different time scales like day or week, our scheduler gives you some &#8230;<\/p>\n","protected":false},"author":2,"featured_media":3389,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17,71,1,38],"tags":[33,15],"class_list":["post-3040","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-posts-for-codeproject-com","category-tutorials","category-uncategorized","category-visible","tag-all-posts","tag-dhtmlxscheduler"],"_links":{"self":[{"href":"https:\/\/dhtmlx.com\/blog\/wp-json\/wp\/v2\/posts\/3040","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dhtmlx.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dhtmlx.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dhtmlx.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/dhtmlx.com\/blog\/wp-json\/wp\/v2\/comments?post=3040"}],"version-history":[{"count":7,"href":"https:\/\/dhtmlx.com\/blog\/wp-json\/wp\/v2\/posts\/3040\/revisions"}],"predecessor-version":[{"id":15468,"href":"https:\/\/dhtmlx.com\/blog\/wp-json\/wp\/v2\/posts\/3040\/revisions\/15468"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dhtmlx.com\/blog\/wp-json\/wp\/v2\/media\/3389"}],"wp:attachment":[{"href":"https:\/\/dhtmlx.com\/blog\/wp-json\/wp\/v2\/media?parent=3040"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dhtmlx.com\/blog\/wp-json\/wp\/v2\/categories?post=3040"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dhtmlx.com\/blog\/wp-json\/wp\/v2\/tags?post=3040"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}