Have a look at the docs http://docs.dhtmlx.com/doku.php?id=dhtmlxscheduler:styling_tooltips
It explains how to use templates to do what you want.
scheduler.templates.tooltip_text = function(start,end,event) {
return "<b>Event:</b> "+event.text+"<br/><b>Start date:</b> "+scheduler.templates.tooltip_date_format(start)+"<br/><b>End date:</b> "+scheduler.templates.tooltip_date_format(end);
}
thanks morfy50
I Just use dhtmlxscheduler_tooltip.js, don’t using template. I need add a new field…for example:
scheduler.templates.tooltip_text = function(start,end,event) {
return "Event: "+event.text+"
Start date: "+scheduler.templates.tooltip_date_format(start)+"
End date: "+scheduler.templates.tooltip_date_format(end);
¿¿ "+scheduler.templates.tooltip_date_format(locate); ???
}
thanks
Yep, template just a plain function which gets event object and returns text which will be used during event rendering.
scheduler.templates.tooltip_text = function(start,end,event) {
return "Event: "+event.text+"
Start date: "+scheduler.templates.tooltip_date_format(start)+“
End date: “+scheduler.templates.tooltip_date_format(end)+”
”+ev.locate; //locate - name of custom field
}
thanks, Stanislav
great solution, problem solved!! 
with:
scheduler.templates.tooltip_text = function(start,end,event) {
return "Event: "+event.text+"
Start date: "+scheduler.templates.tooltip_date_format(start)+“
End date: “+scheduler.templates.tooltip_date_format(end)+”
”+event.Lugar;
}
Now my cuestion #2
- And I can add the same field Lugar (location) in the columns of the days of the scheduler?
Any solution? thanks
I need in that column:
start time (ok)
event (ok)
location(?)
There are a lot of templates in the scheduler - you can redefine necessary one same as above
docs.dhtmlx.com/doku.php?id=dhtm … #week_view