Good morning.
I have a scheduler or the place I go.
I set up a multiple agenda.
When I save my appointment I would like to retrieve the value of my calendar_id but I do not know where to put it to register itself well in the db.
Sorry for my English but I do not speak English very well.
Any custom field need to be registered in the connector’s file, just add it to the list of fields in the render_table command, it will be enough to read and save data.
On client side you can read|write this property as
$scheduler = new schedulerConnector($res);
function myCode($data){
global $calendar_id;
$data->set_value("calendar_id", $calendar_id);
}
$scheduler->event->attach("beforeProcessing", "myCode");
Above code will set correct calendar id for all insert and update requests
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan