Using Connector with YII

In this tutorial we would like to show you how to use the dhtmlxConnector library with the Yii framework.

The tutorial is intended for developers who have already been familiar with the Yii framework and DHTMLX library. If you haven't, please follow the links below to get the required information:

This tutorial is created for the YII framework version 2.0. To get information about the usage of Connector with the earlier versions of YII, read the Using Connector with YII 1.X docs.

Before continuing, please check that you have YII installed on your computer. If you don't, read "Installation Instructions" to learn how to do this.

Download the demo app here.


After you finish this tutorial, you'll get a grid, a scheduler and a gantt populated with data from a database and able to save changes back to the server.

Particularly, it will consist of 3 parts:

  1. Grid
  2. Scheduler
  3. Gantt
Back to top