Sample dhtmlxScheduler_v4.4.0 Interation with Coodeigniter

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; }
 
 
but did't work

Hi,
Unfortunately it’s not obvious what causes the issue.
Could you please clarify when does the problem shows up and do you see any error in the server response when the data is loaded or saved?

Hi Polina,

Thank you for your reply

attach are the picture : error massage

When i Press ok, the want to select the type did’t show any option, also all the event calendar data did’t show

Please Help

Thank You