Ways to Install Scheduler

You can use NuGet, Bower or npm package managers to install the dhtmlxScheduler package into your project.

It's also possible to include the necessary JS/CSS files from CDN.

NuGet

To install dhtmlxScheduler through NuGet, execute the following command line:

nuget install DHTMLX.Scheduler

If you are using Microsoft Visual Studio, run the following command from the Package Manager Console:

install-package DHTMLX.Scheduler

Bower

To install Scheduler through Bower, execute the following command line:

bower install scheduler

npm

To install Scheduler through npm, execute the following command line:

npm install dhtmlx-scheduler

CDN

To include JS/CSS files from CDN, you should set direct links to dhtmlxscheduler.js and dhtmlxscheduler.css files:

<link rel="stylesheet" href="http://cdn.dhtmlx.com/scheduler/edge/dhtmlxscheduler.css" 
    type="text/css"> 
<script src="http://cdn.dhtmlx.com/scheduler/edge/dhtmlxscheduler.js" 
    type="text/javascript"></script>

You can find the full list of links you can include from CDN, depending on the version of dhtmlxScheduler in a separate article.

Adding PRO Edition into Project

All public sources (CDN, NuGet, Bower, and npm) contain a Stardard edition of the component, which is distributed under the GPL license. Currently we don't have corresponding private servers from where the Professional version of the component can be installed. There are two possible ways out:

  • you can add the Pro version to your project by hand.
  • you can make a package out of the Pro version of the component by yourself and add it to your projects from a local directory.

If case of npm, you can install the Pro package from a local folder using npm install ./local_path or npm link. There are step-by-step instructions for both variants:

npm install

  1. Copy the Scheduler codebase into some local directory.
  2. Initialize the npm package there. Name the package dhtmlx-scheduler or whatever you like. Make sure to set dhtmlxscheduler.js as a main file in package.json as "main": "codebase/dhtmlxscheduler.js".
  3. Go to your project directory.
  4. Call npm install ../scheduler-local-package-path.

npm link

  1. Copy the Scheduler codebase into some local directory.
  2. Initialize the npm package there. Name the package dhtmlx-scheduler or whatever you like. Make sure to set dhtmlxscheduler.js as a main file in package.json as "main": "codebase/dhtmlxscheduler.js".
  3. Call npm link in the package folder.
  4. Go to your project directory.
  5. Call npm link dhtmlx-scheduler.
Back to top