The groups.expanded() method returns an array of expanded concurrent event groups for the Scheduler row.
Declaration
DayPilot.Row.groups.expanded()Parameters
This method has no parameters.
Return Value
Returns an array of group objects representing the concurrent event groups that are currently expanded in the row.
Each group object provides the following methods:
expand()- expands the groupcollapse()- collapses the group
Example
const expandedGroups = dp.rows.find("A1").groups.expanded();See Also
DayPilot.Row.groups.expandAll()
DayPilot.Row.groups.collapseAll()
DayPilot.Row.groups.collapsed()
Concurrent Event Groups [doc.daypilot.org]
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot