DHTMLX Scheduler Read Only Events

Hi,

I’m create a scheduler using Timeline mode, and I want to make it read-only for some events, based on the status of the events in the database.

How to define a read-only event from the XML? Without using scheduler.getEvent(id).readonly = true;

Thank you

Hello,

<readonly ><![CDATA[]]></readonly > // not readonly <readonly ><![CDATA[true]]></readonly > // readonly
Kind regards,
Ilya