Problems adding a filter

Hi,
I’ve been successful in making the Scheduler showing me one persons appointments on the timeline, but on the “day”, “week” and “month” views I see everybodies appointments.

How can I make a filter that depends on another field of the DB?? I tried the "filter() method" but doesn't seem to work.

Any ideas??

docs.dhtmlx.com/doku.php?id=dhtm … filtration

samples\09_api\09_filtering_events.html