Hi Tümer,
Greetings from Syncfusion support..!
We have validated your requirement “
How to disable adding event popup when empty scheduler cell is clicked” and you can achieve this requirement using scheduler
popupOpen event and below highlighted code snippet. We have prepared a sample for your reference which can be viewed from the following link.
Index.ts
|
popupOpen: (args: PopupOpenEventArgs) => {
let isEmptyCell =
args.target.classList.contains('e-work-cells') ||
args.target.classList.contains('e-header-cells'); // checking whether the cell is empty or not
if ((args.type === 'QuickInfo' || args.type === 'Editor') && isEmptyCell) {
args.cancel = true;
}
} |
Kindly try the above solution and get back to us if you need any further assistance.
Regards,
Praveenkumar