Quick Appointment Window

Hi,

On the "onCellClick" event, I would like to set the controls of the Quick Appointment Window before displaying it as follows:
      - write some text in the "Subject" textBox and disabling it for writing .
      - disable the "Edit Appointment" button.

Thank you,

Victor Ghero


3 Replies

NR Nevitha Ravi Syncfusion Team January 2, 2017 01:23 PM UTC

Hi Victor, 
 
Thank you for contacting Syncfusion support. 
 
We have prepared the sample for your requirement which can be download from the below location. 
 
When a cell is clicked, CellClick event will be raised where we have customized the quick window as per your requirement. Kindly refer the below code example used in the sample. 
 
<Code> 
  function OnCellClick(args) { 
        $(".e-detailedapp").addClass("disable"); 
        var obj = $("#Schedule1").data("ejSchedule"); 
        $(obj._quickAppointWindow.find('.subject')).focus(function (args) { 
            obj._quickAppointWindow.find('.subject').val("Static Message").addClass("disable"); 
        }); 
    } 
</Code> 
 
Regards, 
Nevitha 
 



VI victor January 2, 2017 02:14 PM UTC

Hi Nevitha

I tested it and it works perfectly.

Thank you,

Victor Ghero






KK Karthigeyan Krishnamurthi Syncfusion Team January 3, 2017 05:52 AM UTC

Hi Victor, 
 
Thanks for your update. 
 
Please let us know if you need further assistance. 
 
Regards, 
Karthigeyan 


Loader.
Up arrow icon