Angular Scheduler: setting htmlLeft from onBeforeEventRender

Asked by Steve Fisher
9 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!

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