Question on read only feauture

Hello,

We need to have a feature where less privileged users will have a read only view of the scheduler event. This means they should not be allowed to open the add event lightbox, but they should be allowed to open the edit event lightbox with Save and Delete buttons disabled or hidden. This is to allow those users to view the details of the appointment but they should not edit and save it.

So,

  1. How to disable the popup of add event lightbox?
  2. How to enable the popup of edit event lightbox, but disable the “Save” and “Delete” buttons (let us not disable the “Cancel” button)?

Can you please give some ideas on how to implement this?

Regards.
Terence George

(1)
scheduler.config.dblclick_create = false;
scheduler.config.drag_create = false;

(2)
check
docs.dhtmlx.com/doku.php?id=dhtm … donly_view
samples\03_extensions\12_readonly_form.html

Thanks for this information.
But how can identify the textboxes and buttons and ensure that only “Cancel” button is enabled (for the user to close the lightbox after viewing in read-only mode) and other buttons/textboxes/dropdowns are disabled?

From the example, this is not clear. Please advise.

Regards,
Terence

If you are using readonly_form extension , it will hide all buttons except of “cancel” automatically.

Thanks Stanislav. I appreciate the quick reply.