This is a migrated thread and some comments may be shown as answers.

Scheduler Events

1 Answer 60 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Manuel
Top achievements
Rank 1
Manuel asked on 30 Jul 2018, 06:29 PM

Hi.

I want to remove the "All day event" and "Repeat" from the event creation/modification, but I'm not able to do it.

If I remove the variables from the examples I end up getting some error messages.

 

Can you tell me if this is achievable?

 

Thank you in advance.

1 Answer, 1 is accepted

Sort by
0
Veselin Tsvetanov
Telerik team
answered on 01 Aug 2018, 12:51 PM
Hi Manuel,

In order to remove the AllDay field and the RecurrenceEditor from the Scheduler edit pop-up, I would suggest you to implement the following logic for the edit event of the widget:
function onEdit(e) {
 var container = $(e.container);
  var allDayContainer = container.find('div[data-container-for="isAllDay"]');
  var allDayLabel = allDayContainer.prev();
  var repeateContainer = container.find('div[data-container-for="recurrenceRule"]');
  var repeatLabel = repeateContainer.prev();
   
  allDayContainer.remove();
  allDayLabel.remove();
  repeateContainer.remove();
  repeatLabel.remove();
}

I hope that this helps. Should you have any other questions, please do not hesitate to contact us.

Regards,
Veselin Tsvetanov
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Scheduler
Asked by
Manuel
Top achievements
Rank 1
Answers by
Veselin Tsvetanov
Telerik team
Share this question
or