i want show to public user the Events are ReadOnly

i seen a example in dhtmlxScheduler\samples\03_extensions\14_readonly_event.html.
How i can i keep this event should be readOnly , and this can be editable .
Can you please explain this one.

If related extension is included it check the presense of readonly property of event.
Basically, in XML, readonly event has

<event id="123"> <readonly>true</readonly>