Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Jacob on May 31, 2009 07:51
open dhtmlx forum
Read-only dhtmlxScheduler?

I just came across dhtmlxScheduler, and it looks great!

I'd like to offer my visitors a read-only calendar -- is there an easy way to configure the scheduler so that event creation, dragging, and editing is disabled?

FWIW, I've disabled much of the editing & creating functionality by adding these config vars:
    drag_resize:0,
    drag_move:0,
    drag_create:0,
    edit_on_create:0,
    details_on_create:0,
    click_form_details:0
but double-clicking an event still lets you edit the event text -- how can I disable this last piece?

best,

Jacob
Answer posted by Support on Jun 01, 2009 05:42
Updated version of scheduler attached to email, now it supports next settings

       scheduler.config.readonly = true;

When readonly set to true, all moving|creation|selection|editing operations will be blocked.

The similar fix added to main codebase and will be released as part of next build. 
Attachments (1)
Answer posted by Jacob Patton on Jun 01, 2009 06:19
Wonderful!  Thanks for the quick response & updated code.

best,

Jacob