Categories | Question details Back To List | ||
dhtmlxScheduler, week start on today, more week plans per page Hi! a) in scheduler.config.start_on_monday=false or true, week starts on monday or sunday, but i need who first day's column is today, next column is today + 1 ... last column - today+6? what i need to write in config file? b) What should I do if I want to see more than one week per page ,I want to see this week plans for each user (user 1 = week 1, user 2 = week 2 ...)? c) what about <body onload="init();">? I want put in <div>, but that not work's Answer posted by Stanislav (support) on Jan 04, 2010 03:55 a) the next must provide the necessary behavior scheduler.date.week_start=function(date){ return this.date_part(this.add(date,0,"day")); } >>What should I do if I want to see more than one week per page http://dhtmlx.com/dhxdocs/doku.php?id=dhtmlxscheduler:custom_views >> what about <body onload="init(); Just call the same js code after placing html snippet on the page. The moment of init call is not critical, it can be done at any time after html snippet is placed on the page. |