gets the object of the specified section in the currently active view
section_id | string | the section's id |
object | the section object |
Available only in PRO Edition
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"}
This functionality is available in the PRO edition only.
If the opened view isn't Timeline in the 'Tree' mode, the method will be ignored.