Change View on DoubleClick

Hi,

is it possible to cahnge the currentview on doubleclick?

i tried

scheduler.attachEvent("onDblClick", function (event_id, native_event_object){ scheduler.setcurrentview(month) .... so on.... });

and it worked very fine, but like the doc says: "Event called when dbl-click on some scheduler’s event is occured " its only working when you are clicking on an event. :frowning:

I want to click on a day in “monthview” and switch into “weekview”.
“yearview” => “monthview”
“weekview” => “dayview”
is this possible?
is there an event which is called on every doubleclick?
thx Gleitmann

There is no such event ( it possible to catch dbl-click , but you will not have info about time-location of a click )

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

thats very much what i wanted!
thank you