search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

"Concurrent Event Groups" and "autoRefresh"

Asked by Daniel
7 years ago.


I am using the Event Groups. If i open a Group with the "+", and autoRefresh fires, the Group Close automatically.


Comment posted by Daniel
7 years ago.

and how to Change the text "2 events"?

Answer posted by Dan Letecky [DayPilot]
7 years ago.

At this moment the group state is not persisted. This means it will reset to the original state on update().

You can customize the groups using onBeforeGroupRender:

dp.onBeforeGroupRender = function(args) { = + " events in this group";

See also

Answer posted by Daniel
7 years ago.

OK cool thanks!

Saving the state would be perfect! ;)

Comment posted by Dan Letecky [DayPilot]
7 years ago.

Saving the state is difficult because the group doesn't have any id, it's an ad-hoc client-side group. Moreover, it's not guaranteed that the group will have the same members after .update() as the events are reloaded.

There is also a somewhat similar concept called "joint events" which lets you group events using an id and move them together:

Theoretically, such a group could be collapsed but I'm afraid it's not exactly what you are looking for.

This question is more than 3 months old and has been closed. Please create a new question if you have anything to add.