View only scheduler?

How can I make a calendar be view-only?

OK, I saw the readonly property, and set it.

But it also turns off the click to see details.

What I am hoping to do is to have a tooltip popup (which I think I see how to do that) to show the text for the event. But to be able to get to the details by clicking on it.

Check

docs.dhtmlx.com/doku.php?id=dhtm … donly_view

That is odd, if I add what the docs say to add, the behavior doesn’t change. But if I add the additional lines that are in the sample:

//block all modifications scheduler.attachEvent("onBeforeDrag",function(){return false;}) scheduler.attachEvent("onClick",function(){return false;}) scheduler.config.details_on_dblclick = true; scheduler.config.dblclick_create = false;

I get the expected behavior. I am not sure what readonly_form=true actually did, it didn’t seem to change the form.

Anyway, it seems to work, just took more than what the docs said.