when i tried to attach
addMarkedTimespan({ start_date:new Date("2014,7,5 06:30:00"),
end_date:new Date("2014,7,5 20:45:00"),
css: "myOwnDefinedcss"});
its working fine in all browser except ie,please help me regarding issue.
but when i use
addMarkedTimespan({ days: new Date(2014,6,4),
zones: “fullday”,
css: “myOwnDefinedcss”});
this is working in all browser even in ie please help me
Hi SergeM ,
Using this kind of constructor addMarkedTimespan neither working in ff or ie,
i.e inside dhx_scale_holder div not a single div creating ,but when i use
addMarkedTimespan({ start_date:new Date(“2014,7,5 06:30:00”),
end_date:new Date(“2014,7,5 20:45:00”), its working in ff but not in ie.
then help me exactly which will wotk in ie using addMarkedTimespan specific time
scheduler.addMarkedTimespan({
start_date: new Date(2012,7,10,5,30),
end_date: new Date(2012,7,10,15,15),
css: "red_section"
});
scheduler.updateView();
Does it work ?
Hi
You are awesome ,everything working but i want to clear markedspan before addMarkings. i am using below code
[code]scheduler.attachEvent(“onViewChange”, function (new_mode , new_date){
$.each(result, function(index) {
var t =result[index].start_date.split(/[- :]/);
var st_dt = new Date(t[0],parseInt(t[1])-1,parseInt(t[2]),parseInt(t[3]),parseInt(t[4]));
var sttime = t[3]+":"+t[4];
t =result[index].end_date.split(/[- :]/);
var en_dt =new Date(t[0],parseInt(t[1])-1,parseInt(t[2]),parseInt(t[3]),parseInt(t[4]));
Using deleteMarkedTimespan its deleting exsting marked (if single day two marked timespan are available),if not using its applying that color again and again on view change which looks odd .
Hi,
that’s right, when you add timespans with the identical configuration, each is rendered on top of the previous one. You need to delete a previous timespan with the method “scheduler.deleteMarkedTimespan()” :
var spanID = scheduler.addMarkedTimespan({
days: [0,1],
zones: "fullday"
});
scheduler.deleteMarkedTimespan(spanID);
If not deleting, displaying correctly but rendering next page problem.if we will able to clear all marked spans before rendering starts,it will work fine.
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan