cross connector filter

Hi,

i have the following code in my php file:

        $cross = new CrossOptionsConnector($res);
	 $cross->options->render_table("user","user_id","user_id(value),kuerzel(label)");
	 $cross->link->render_table("event_user","event_id", "user_id,event_id");	
	 $scheduler = new SchedulerConnector($res);	
	 $scheduler->set_options("user_id", $cross->options);
	 $scheduler->render_table("events_shared","event_id","start_date,end_date,text,user,anzahluser,details,reccuring,customer,event_type,userId");	

In a separate iframe I can select an event with a click (Eventnameand the php file get’s the Parameter $_GET[“aktionsid”].

It doesn’t work! I see the selected event, but i could change anything and save and my multiple checkboxes (user_id) are not displayed. Any ideas?

kind regards,
shufro

…the alternative:

$scheduler->render_sql("select * from events_shared INNER JOIN (user INNER JOIN event_user ON user.user_id = event_user.user_id) ON events_shared.event_id = event_user.event_id where event_user.event_id = '".$aktions."'","event_id","start_date,end_date,text,user,anzahluser,details,reccuring,customer,event_type,userId");	

doesn’t workt too. There are no multiple checkboxes displayed.

regards, shufro

CrossOptionsConnector connector is purposed to show list of related items in scheduler’s details form, it can’t be used to filter loaded set of events.

Second solution, which uses $scheduler->render_sql, must work. If it still causes issues - please try to enable logs in the connector file and provide the log content.