Customization of event bar in dhtmlx scheduler


#1

Hi I am using dhtmlx scheduler.net its have been a very nice experience the tool is very good but i would like some help in regards of adding a picture in event bar whom its created by i have tried something like added a image tag in the event_bar_text event but it did not work as expected.


#2

Hi,
Yes, you need to use event_bar_text template, or another similar one. Please clafy in which view do you want to show image?


#3

hi thanks for the reply i want to show the image in month view


#4

Hi,

Please check all templates for the month view here:
https://docs.dhtmlx.com/scheduler/month_view_templates.html

To add image into the event_bar_text template, you can do it in the next way:

scheduler.templates.event_bar_text = function(start,end,event){
      return event.text +"<img src="URL">";
};