title: How to load only the events created by a specific user into DHTMLX-Scheduler?
body: <p>I would like to have only events displayed from the currently logged in user.</p>
  
  <p>How can I achieve this?
  I have already configured the event to have a user field.</p>
  
  <p>I am using the <code>JSONSchedulerconnector</code> to populate the <code>DHTMLX-Scheduler</code>.</p>
  
  <pre><code>$connector = new JSONSchedulerConnector(null, "PHPYii");
  $connector-&gt;set_options("subsubprojects", $subsublist);
  $connector-&gt;set_options("subprojects", $sublist);
  $connector-&gt;set_options("projects", $list);
  $connector-&gt;configure(new Booking(),"id", "start, end, activity, user, project, subproject, subsubproject, status, comment");
  $connector-&gt;render();
  </code></pre>
  
  <p>UPDATE:
  I have tried the filter method, as documented here:
  <a href="https://docs.dhtmlx.com/connector__php__filtration.html#filtermethod" rel="nofollow noreferrer">https://docs.dhtmlx.com/connector__php__filtration.html#filtermethod</a></p>
  
  <p>I have inserted before render:</p>
  
  <pre><code>$connector-&gt;filter("user", "2");
  </code></pre>
  
  <p>But it does not work...</p>