I need to color events in calendar list view.
I use _spbodyonloadfunctionnames.push(myFunction), but my function executes when page load.
If I add new event this function doesn’t execute.
How could I color new event?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There might be some magic array/function to handle when partial requests are executed in the list views, but for now what I can suggest is to monkey patch the refreshItems method for the calendar, so you call your function on the load event and the patched event.