Personalized popup calendar view

Hi, I was wondering if I can insert my custom calendar component when I click on the date. 

Instead of open the calendar component of Syncfusion I want to open my custom calendar.

If this is not possible, can I handle the onClick event? To avoid open your component and open mine.

Thanks,

Brandon

Captura de Pantalla 2021-10-26 a la(s) 22.54.33.png


1 Reply

SK Satheesh Kumar Balasubramanian Syncfusion Team October 28, 2021 12:51 PM UTC

Hi Brandon, 
  
Greetings from Syncfusion Support..! 
  
We have prepared a sample based on your shared query “need to provide click event for the calendar button” using CSS and actionComplete event of the scheduler, which can be viewed from the following link. 
  
  
  onActionComplete(args) { 
    if (this.flag && args.requestType === 'toolBarItemRendered') { 
      document 
        .querySelector('.e-date-range') 
        .addEventListener('click', function () { 
          debugger; 
          // kindly render your own calendar component 
        }); 
      this.flag = false; 
    } 
  } 
  
.e-popup.e-popup-open .e-calendar { 
  display: none; 
} 
  
Kindly try the above solution and get back to us if you need any further assistance. 
  
Regards, 
Hareesh 


Loader.
Up arrow icon