| Issue 927: | Seperate Id's for every events(even repeating events) | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Hi I think there should be 2 separate id's one for the id of the event and another id for repeating events. Say if I had this event id: 1 repeatingId: 1 id: 2 repeatingId: 1 id: 3 repeatingId: 1 id: 4 repeatingId: 2 So the first 3 events are repeating events and the last one is some one event. The reason I suggest this is many calendars allow you to delete all instances of an event or just one event. If a user wanted to delete the second event well as far as I know you cannot do this in the current version. If you try to use removeEvents you have to pass in the id and it will delete all occurrences. If you would have 2 id's then you could use the repeating id' to delete all occurrences or the id to delete a single occurrence.
Apr 28, 2011
Project Member
#1
althaus.it
Status:
Discussing
Apr 28, 2011
Yea that is what I recommended on StackOverlow and I don't this is a bug as separate id's can be attached either by className or custom values when the feed is generated. But it is more tricky if you get a Google feed? unless you re process and attach unique ids to each recurring event.. Is it plausible for external events?
Apr 28, 2011
@althaus.it - Yes I have added custom values to my source but if you want to use removeEvents it takes either a filter in or an id. It will remove all id's found and in some cases I don't want that.
Aug 13, 2013
yes, removeEvents accepts a filter function, which you will want to use, so you can look for events with your important alternate ID. I wish i had a better example of this on the site. I will work on the docs...
Status:
WontFix
Labels: -Type-Enhancement Type-BehaviorMod |
|
| ► Sign in to add a comment |