Categories | Question details Back To List | ||
prevent the lightbox entry on saturday and sunday Hello I am using dhtmlxscheduler. I have given the lightbox on create condition as true. My requirement is to prevent the lightbox entry on saturday and sunday so that i can't create event on sat and sun. For that i have checked the getDay() method for values 0 and 6. Please tell me the attachEvent condition such that i can check my requirement and proceed. I have used 'onBeforelightbox' condition, in that case its okay for sat and sun but lightbox is not displayed for weekdays too. so please tell me your suggestion. Thank You Vineetha Answer posted by Alex (support) on Dec 18, 2009 01:38 Hello, You can try to use the following approach scheduler.attachEvent("onBeforeLightbox",function(id){ }) |