Change the color of the event
8 years ago.
Hi Dan,
I am giving colours to the events based on resource name.Now i want to change the colour of the event when selected.
function selectEvents(events) {
for (var i = 0; i < events.length; i++) {
var evt = events[i];
evt.backColor = 'Gray';
me.dp.multiselect.add(evt, true);
};
me.dp.update();
me.dp.multiselect.redraw();
};
but the colour is not changing.i am working on scheduler and javascript.
And one more problem is not able to add events to multi select if the events are in different resources.
For selection i am using resource context menu.
Thanks
DayPilot