how to transform the event name into a html link?

Hi
I am working on a project where I use the scheduler as a school lessons planner. My events are acting as lessons. Inside the “Lightbox” I have a drop down box populated from the database. The link must be include the lesson id so I can open the right lesson in the view_lesson page.
Ex: <a href="view_lesson.php?lesson_id=12>English 1A which will open lesson id 12 (id selected in the Lightbox).
Any idea?

Many thanks.

If you need a link in the text of event - just use a related template

docs.dhtmlx.com/scheduler/week_v … lates.html

scheduler.templates.event_text = function(s,e,ev){ return '<a href="view_lesson.php?lesson_id='+ev.lesson_id+'>'+ev.text+'</a>'; };