Hi,
All
I have to display event text based on view mode,can anyone give the idea of this.
Regards,
Surya K Dwivedi
Hello,
Be sure to check Settings templates page for additional information.
For example it can be done like this:
scheduler.templates.event_text=function(start,end,event){
switch(scheduler.getState().mode) {
case "month":
return "Month view: "+event.text;
case "week":
return "Week view: "+event.text;
default:
return event.text
}
};
Best regards,
Ilya