function onRenderCell(args) {
if (args.elementType == 'workCells' && args.element.classList.contains('e-work-hours')) { ej.base.addClass([args.element], ['cell-color']); } } function onPopupOpen(args) { var isCellClick = args.target.classList.contains('cell-color'); var isEventClick = args.target.classList.contains('e-appointment') if ((args.type === 'QuickInfo' || args.type === 'Editor')) { var start = document.querySelector('.e-start.e-datetimepicker'); start.ej2_instances[0].readonly = true; start.disabled = true; var end = document.querySelector('.e-end.e-datetimepicker'); end.ej2_instances[0].readonly = true; end.disabled = true; if (isCellClick) { args.cancel = false; } else if (isEventClick) { args.cancel = false; } else { args.cancel = true; } } } |
was a recruiter for a bit, and found a ton of great plugins that I use in my sales career. I use:
Lusha- generates emails/phone numbers (about 50% of the time it's personal email/phone, so keep that in mind you may be calling someone's cell phone) tutuapp
Adapt prospector- generates business emails/phone numbers (sometimes appvalley
document.querySelector('.e-start.e-datetimepicker').disabled = true;
document.querySelector('.e-start-container .e-date-icon').classList.add('e-disabled')
document.querySelector('.e-end.e-datetimepicker').disabled = true;
document.querySelector('.e-start-container .e-date-icon').classList.add('e-disabled') |