Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Mario Granados on Sep 09, 2009 11:01
open dhtmlx forum
Scheduler hyperlink in events.

Hello,

I was wondering I want to make a read only scheduler, but in the simple description of the event (the square in the main layout of the scheduler) I want put a hyperlink to another page.

Can be that possible?

I hope you undestand me.

Greetings.
Answer posted by Support on Sep 10, 2009 04:12
>>Can be that possible?
Sure, you can check samples\customization\06_templates.html


scheduler.templates.event_text=function(start,end,event){
  return "Text:<b> "+event.text+"</b><br>"+"Descr. <a href='"+event.details+"'>"+event.details+"</a>";
}


You can define custom template for event's text , and this template can contain any HTML.