timeCellRenderer: function (evts, m, rec, row, col, ds, start) {
if (start.getDay() === 6 & rec.data.Id===1) {
m.css = 'weekend';
}
},
this work fine, but i need to set holidays in my schedule, these holidays come from a database table setting for specific country.
how can i do this, if the schedule have only store and eventstore.
but this is the timeCellRenderer( Array events, Object meta, Ext.data.Record record, Int row, Int col, Ext.data.Store ds, Date date, Date date, SchedulerPanel scheduler ) definition, so which parameter will be the new source?
i was setting different types of styles for my cells with this tecnique on the timeCellRenderer function, but now im population the schedule with more data and the styles doenst apply to the cells i want also sometimes doesnt appear the color i was setting in the specifi cells, could you please give me an example using delegates as you mention.
Hi sorry to post on a 'old' post but for my research this is one of the must have functionality but I do not know how to implement.
So we need a resource scheduler, so persons (resources) have their own calendar.
Person A does not work on Friday.
Person B works only from 10 untill 2 o'clock.
How can I pass these 'special dates' when the scheduler panel gets rendered??
And how to restrict that events can be dropped on these special dates??