my schedular not working for week mode

my scheduler works for add/view/update month schedules but when i add weekly schedules I got an error that is " return this.getEvent(id)[name]; is undefined" .I cann’t understand how to resolve it . for adding schedules i have used handler. Also,I cannot understand how to change text color for different conditions.


We would need link to the page or at least code how do you add view.

Kind regards,