Open different lightbox if event is created by click or drag

Is it possible to determine if an event was created by click or by drag and then open a different lightbox for each scenario?

Scheduler supports only one lightbox configuration, so if you need to have few different form you will need to define your own form logic through redefining showLightbox method

Is it possible to determine if an event was created by click or by drag
Problematic, you can handle onDblClick and onDragStart events
If onDblClick was occur before new event creation - it was created by clicking, of onDragStart - by dragging.

Thanks for your quick response.

Is it possible then to have a search capability (against a mysql db of students) within the lightbox and would you have an example of such? We want to search for a student by name, select one from the results and use that when creating the event.

Also is it possible to “block” an entire day (or a few hours of a day) and visually show it as “blocked”. I have seen the dhtmlxscheduler_limit.js and that works to a point, but does not display on the scheduler as blocked and has no provision to block only part of a day.

Is it possible then to have a search capability
Check
viewtopic.php?f=6&t=14042&p=41806#p41806
It shows how combo can be used in scheduler, and combo can be configured to work in “suggest” mode

Also is it possible to “block” an entire day
Nope, there is no ready solution, but technique in limit extension doesn’t use any private methods. It based on the documented events, so you can build a custom code which will use the same event but will block events based on more complex pattern.

As for coloring - it it problematic in week|day view, where the only way to style scale is use complex background image.

You can look at timeline view , where each cell can be styled separately ( oncoming 2.3 will add dnd ability to the timeline view )