groupConcurrentEvents expand/close all
Asked by ssi@lap.de
1 years 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]
1 years 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
1 years 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
1 years ago.
sorry but I can't edit the post.
Actually I'm looking for something like this:
dp.rows.forEach(function (row) {
row.expand();
});
This question is more than 1 month old and has been closed. Please create a new question if you have anything to add.