if ($scheduler->is_select_mode())
$scheduler->render_sql(“SELECT * from schedule s,proc c where s.proc_id=c.id”,“id”,“schedule_startdate,schedule_enddate,patient_id,room_id,operator_id,proc_id,proc_colour”);
else
$scheduler->render_table(“schedule”,“id”,“schedule_startdate,schedule_enddate,patient_id,room_id,operator_id,proc_id”);
in the php file am writing this always in select mode the first parameter after the start date and end date is undeined (i.e. patient_id)