getSection
Description
Holt das Objekt für einen bestimmten Abschnitt innerhalb der aktuell aktiven Ansicht
getSection: (section_id: string) => any
Parameters
section_id- (required) string - die Kennung des Abschnitts
Returns
section- (object) - das Abschnittsobjekt
Example
scheduler.createTimelineView({
name: "timeline",
render:"tree",
...
y_unit:[
{key:"managers", label:"Administration"},
{key:"accounts", label:"Accounting Department"},
{key:"sales", label:"Sales and Marketing"},
{key:"production", label:"Production Department"}
]
});
...
scheduler.getSection("sales");//->{key:"sales",label:"Sales and Marketing"}
Applicable views: Timeline view
Details
Hinweis
Dieses Feature ist nur in der PRO-Edition enthalten.
Hinweis
Die Methode funktioniert nur, wenn das treetimeline Plugin aktiviert ist.
Hinweis
Wenn die aktuelle Ansicht nicht die Timeline im 'Tree'-Modus ist, hat diese Methode keine Wirkung.
Related API
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.