I am new to dhtmlxsheduler and I don’t know much about php.I want to finish a dynamic loading of multiselect use Java,like 'dhtmlxScheduler_v35_std_120823\samples\01_initialization_loading\09_connector_options.html ‘. this part of code ’
{name: “type”, height: 21, map_to: “type”, type: “select”,options: scheduler.serverList(“type”)}’.
How should I do? can you show me an example?
Client side is exactly the same as for php, as for client side check
docs.dhtmlx.com/doku.php?id=dhtm … ns_in_grid
Similar code can be applied to the java connector
[code] protected void configure() {
Connection conn= ( new DataBaseConnection()).getConnection();
OptionsConnector list = new OptionsConnector(conn);
list.render_table("types","typeid","typeid(value),name(label)");
SchedulerConnector c = new SchedulerConnector(conn);
c.set_options("type", list);
c.render_table("events","event_id","start_date,end_date,event_name,details");
}[/code]