When I load the scheduler the OptionsConnector it work perfect it retrieve the correct information, but when I insert/update an event the OptionsConnector dont retrieve the information again.
How I can use “set_options” when the event is update/insert to retrieve the last information of my db to client-side?
Now I have this:
$scheduler = new SchedulerConnector($res, $dbtype);
$c = new OptionsConnector($res, $dbtype);
$sqlC = "SELECT * FROM `crono` as cc INNER JOIN con as c ON cc.id_c=c.id_c";
$c->render_sql($sqlC,"id_crono","id_crono,id_c,titulo");
$scheduler->set_options("c", $c);
$scheduler->render_table("cronograma","id_crono","start_date,end_date,text,titulo");
It work only one time - when the scheduler is load for fist time.