search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

how to set tool tip for daypilot-calender

Asked by Anonymous
6 years ago.

Hi I am using day pilot calendar open source which is taken from this link
https://aspnet.daypilot.org/demo/Lite/Calendar/

I want to set the tool tip for this day pilot calendar. I don't know how to set this can you solve my issue.

Thanks

Answer posted by Dan Letecky [DayPilot]
6 years ago.

The event tooltip is enabled by default (ShowToolTip property is set to true). The default tooltip uses the event text (loaded from the field specified using DataTextField).

You can also customize it using BeforeEventRender event handler (just set e.ToolTip as needed).

See also:
https://doc.daypilot.org/calendar/event-customization/

Comment posted by Anonymous
6 years ago.

Inside the

$scope.weekConfig = {
visible: true,
viewType: "Week",
businessBeginsHour: 9,
businessEndsHour: 17,
ShowToolTip :true,
eventMoveHandling: "Disabled",
}

i have initialized but it is not showing

and also i initialized inside
$scope.weekConfig

onBeforeEventRender: function(args) {
if (args.data.tags && args.data.tags.type === "important"){
args.data.rightClickDisabled = true;
args.data.barColor = "red";
args.ToolTip="asdf";
}
},

this also not working

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.