Problem in rendertable

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)

When you defining list of fields, it always must start from

start_date, end_date, text

those 3 positions are always requiered, only 4th and next fields will be converted to custom properties.

$scheduler->render_table("schedule","id","schedule_startdate,schedule_enddate,text,patient_id