Please Help
I Try to integration
dhtmlxScheduler_v4.4.0
samples/01_initialization_loading/09_connector_options.html
to Codeigniter
the Controller :scheduler.php
<?php defined('BASEPATH') OR exit('No direct script access allowed'); use Dhtmlx\Connector\SchedulerConnector; class Scheduler extends CI_Controller { public function index() { $this->load->view("SchedulerView"); } public function data() { $this->load->database(); $scheduler = new SchedulerConnector($this->db, "PHPCI"); $scheduler->configure("scheduler_events_r", "event_id", "start_date, end_date, event_name"); // $connector->event->attach($this); $scheduler->render(); } public function types() { $this->load->database(); $list = new OptionsConnector($res, $dbtype); $list->render_table("types","typeid","typeid(value),name(label)"); $scheduler = new schedulerConnector($res, $dbtype); $scheduler->set_options("type", $list); $scheduler->render_table("tevents","event_id","start_date,end_date,event_name,type"); } } View : schedulerview.php html, body{ margin: 0px; padding: 0px; height: 100%; overflow: hidden; }