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

groupConcurrentEvents expand/close all

Asked by ssi@lap.de
16 hours ago.

Hello,

I work with 'groupConcurrentEvents'

Now I want all events to be expand/closedwhen a button is clicked.

Unfortunately I haven't found a solution for this yet.

Does anyone have an idea?

Thank you very much

Answer posted by Dan Letecky [DayPilot]
15 hours ago.

You can find an example in the following demo:

It shows how to add an expand/collapse icon to the row headers using the onBeforeRowHeaderRender event handler.

Comment posted by ssi@lap.de
15 hours ago.

Thank you very much for the quick reply.

I wanted to do this without the event handler 'onBeforeRowHeaderRender'.

Only one row is processed here.

I'm looking for a way to use all events at once via a button (in a toolbar).

Comment posted by ssi@lap.de
14 hours ago.

sorry but I can't edit the post.
Actually I'm looking for something like this:

dp.rows.forEach(function (row) {
row.expand();
});

New Reply
This reply is
Attachments:
or drop files here
Your name (optional):