Quick Info window without changes on icons

Hi

I’ve added the quick_info.js-File like described in Touch support in dhtmlxScheduler

On event click, I change the icons depended on readonly and add an custom icon.

if (event.readonly)
scheduler.config.icons_select = [“icon_customerdata”,“icon_details”];
else
{
scheduler.config.icons_select = [“icon_customerdata”,“icon_details”,“icon_edit”, “icon_delete”];
}
scheduler.locale.labels.icon_customerdata = “Kundendaten”;

Without quick-Info, it’s ok. The new icon is displayed and logic on readonly-events works.
With quick-info, it should be the same
From document: “Note, the quick-info selection side menu and selection menu in the standard scheduler use the same configuration that is stored in the icons_select object.”

but I see allways Details and Delete-Button.

best regards
Christoph

Hello,

The same problem happened for me too . so I solved it by below method ,
I made it with the css :smiling_imp: :imp: :sunglasses: :laughing: :unamused: .

[code]scheduler.attachEvent(“onClick”, function(id) {
var objEvent = scheduler.getEvent(id);
//Hiding the delete , reserve button from quick info ( if WAITING status )
if(objEvent.RecordType==“PATIENTQUEUE”){
$(’.icon_cancel_reserve_appoinment’).hide();
$(’.icon_reserve_appoinment’).hide();
$(’.icon_delete’).hide();
}else{
if (objEvent.ConfirmedPhonebooking == “checked”) {
$(’.icon_cancel_reserve_appoinment’).show();
$(’.icon_reserve_appoinment’).hide();
} else {
$(’.icon_cancel_reserve_appoinment’).hide();
$(’.icon_reserve_appoinment’).show();
}
$(’.icon_delete’).show();
}

        if(!objEvent.AppointmentPhBookId){                
            $('.icon_print').hide();    
        }else{
            $('.icon_print').show();
        }

        return true;
    });    [/code]