multiuser Schedule by Dropdown Menu

Hello i have a dropdown menu above my schedule with id´s 1, 2, 3, 4…

id event_start event_end event_text event_owner
7 2013-04-30 00:30:00 2013-04-30 00:45:00 kommen 2
8 2013-04-30 14:30:00 2013-04-30 14:33:00 gehen 2
9 2013-04-24 00:00:00 2013-04-24 00:05:00 kommen 1

When i click on the dropdown menu i want to see the Schedule filtered by event_owner

i tried it with

scheduler.load(“data/connector.php?connector=true&dhx_filter[event_owner]=1”)

didnt work for me ?

thanx for reply

Are you using render_table or render_sql ?
In second case be sure that event_owner is selected as part of sql query.

Also, load command just updated current view, to fully reload data you need to have

scheduler.clearAll()
scheduler.load(url);

And for last - there is a way to fitler data without reloading
docs.dhtmlx.com/doku.php?id=dhtm … filtration

i tried this:

scheduler.init('scheduler_here',null,"month");
scheduler.load("data/connector.php?employ=1");

   var dp = new dataProcessor("data/connector.php");
   dp.init(scheduler);

server-side:

$conn->render_sql(“select * from dxschedule where event_owner=”.$employ,“id”,“event_start,event_end,event_text,event_owner”);

not working

thanx now it works !

i changed it to

$conn->render_sql(“select * from dxschedule where event_owner=”.$_GET[‘employ’],“id”,“event_start,event_end,event_text,event_owner”);