I am using AngularJS working with the Scheduler. I have a requirement to show a custom indicator (color, symbol, etc) and a tooltip if a "note" or data exists for that particular date. It appears that onBeforeTimeHeaderRender can do it on the first load with code like the following but how can it then be refreshed since part of the .config?
onBeforeTimeHeaderRender: function (args) {
// place a GET call here to get data based on scheduler position but hardcoded below for testing
if (args.header.start === new DayPilot.Date(2016, 1, 6)) {
args.header.toolTip = 'hello';
args.header.backColor = "#F3F781";
}
Thanks.