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

Angular Scheduler: setting htmlLeft from onBeforeEventRender

Asked by Steve Fisher
7 years 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]
7 years 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.

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