How to find if an event is recurring

In the the samples provided when we open an recurring event for editing it asks if we need to edit all events in the series or just this one. Now I am using a custom lightbox so I cant use the recurring type so how should I implement the above functionality?

You can check the id of item in question.
For recurring event it will be
{master_id}#{timestamp}
From that point if you will call
scheduler.startLightbox(master_id);
it will apply results of edit operation for all instances of recurring event.

Recurring extension quite complex inside, and I’m not sure that it will fully work with custom lightbox.

How is the end date calculated when the end after “x” number of occurrences is selected?

something like

scheduler.transpose_type(rec_code); //prepare rec type end = scheduler.date.add(start,count,rec_code);