Is there a way to copy the text of an event without opening it? I’ve tried to modify CSS and read-only settings, but there doesn’t seem to be any way to select the text inside an event without first opening the light box.
Thanks
Is there a way to copy the text of an event without opening it? I’ve tried to modify CSS and read-only settings, but there doesn’t seem to be any way to select the text inside an event without first opening the light box.
Thanks
Hi,
scheduler blocks selection in a calendar area.
You can change this behavior by overwriting ‘selectstart’ event handler of scheduler container. It should be done after initialization of the scheduler
JS:[code]scheduler.init(‘scheduler_here’);
var node = document.getElementById(“scheduler_here”);
node.onselectstart = function(e){
var e = e || window.event;
var is_event = false;
var target = e.target || e.srcElement;
while(target){
if(target.hasAttribute && target.hasAttribute("event_id")){
is_event = true;
break;
}
target = target.parentNode;
}
if(!is_event){
return false;
}
}[/code]
CSS:.dhx_cal_event .dhx_body{
-moz-user-select:-moz-text;
-webkit-user-select:text;
-user-select:text;
}