Filtering Multisection Events

Hi,

first of all thank you very much for the update of the scheduler! Great new features!

Is there a way to filter on serverside via the scheduler connector events which are assigned to multisection by one section, f.e a event is assigned to section 1 and 2 (in the mysql-database field=1,2) and I would like to filter out the events which are assigned to field=1.

Thank you for your help!
Martin

Hi,
you can attach a filter to the connector, it might be either MySQL expression or a php function
docs.dhtmlx.com/connector__php__filtration.html
docs.dhtmlx.com/connector__php__ … enderevent

Hi,

thank you for your answer!
I know how it works with a “normal” field with just one value. But how to adjust the filter
$scheduler->filter(“item_nm”, “member”);

to work with a comma separated value array?

Thank you!
Martin

You’ll need to put a sql expression in a filter. Probably you could use mysql FIND_IN_SET function in order to check if field contains the specific id dev.mysql.com/doc/refman/5.0/en/ … ind-in-set

Thank you!
That worked!