How to get the right data

If I have a drop down (like a list of people) that needs to be populated in the light box do I create two separate classes that extend ConnectorServlet. One that returns the data for the dropdown and one that will save/update an actual event?

If so how to specify which class to get or send the data to.

Thanks

You can use one class, derived from ConnectorServlet but define two connectors during configuration.

Check
docs.dhtmlx.com/doku.php?id=dhtm … ns_in_grid
It shows how select list can be linked to the grid, it will work the same for scheduler

Php sample can be checked at
dhtmlxScheduler\samples\01_initialization_loading\09_connector_options.html
dhtmlxScheduler\samples\01_initialization_loading\php\types.php

Thanks for the quick response.

I dont see a set_options method for the schedulerConnecter. Do I use the grid connector to set the options on?

protected void configure() {
            //obtain DB connection
	Connection conn=null;
	try {
		conn = databaseManager.getConnection();
	} catch (Throwable e) {
		e.printStackTrace();
	}
	BaseConnector  oc = new OptionsConnector(conn);
	oc.render_table("people", "PERSON_ID_CD", "PERSON_ID_CD(value), PERSON_LAST_NM(label)");

	BaseConnector sched = new SchedulerConnector(conn);
	
	GridConnector s1= new GridConnector(conn);
	s1.set_options("people", oc);
	

}

SchedulerConnector has such method. Maybe you need to update jar file to the latest one ( attached )
dhtmlxconnector.zip (113 KB)