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

Angular Scheduler: setting htmlLeft from onBeforeEventRender

Asked by Steve Fisher
2 months ago.

Hello,

I am trying to set htmlLeft from onBeforeEventRender using the angular scheduler, but it will not render.

function onBeforeEventRender(args) {
args.data.htmlLeft = "task name";
}

However, if I set htmlLeft in ctrl.events, for example:

start: new DayPilot.Date("2017-04-20T06:00:00"),
end: new DayPilot.Date("2017-04-20T18:00:00"),
id: DayPilot.guid(),
resource: "F1P2T1",
htmlLeft: "Task Name"

It seems to work fine.

Any idea what I'm doing wrong here? Currently using version 2726.

Thanks!

Answer posted by Dan Letecky [DayPilot]
2 months ago.

It should be fixed now in the latest sandbox build (8.3.2842):

https://javascript.daypilot.org/sandbox/

Let me know if the problem persists.

New Reply
This reply is
Your name (optional):