Section label

Hi,

How can I obtain the saction label of an event in de scheduler?

Thanks,

If you know ID of the event, you can get any its property as

scheduler.getEvent(id).{property}

for example

scheduler.getEvent(id).text

Thank you.

I know that i can get events property by eventID but i do not know how can I get the section label (column name in custom made unit).

For example, I have 9 columns with the employee names as a label. I need to check employee name in the “onEventSave” event. Is that possible?

The next is not a part of public API, so may not work for a future versions

  scheduler._props["units"].options - array of possible options
  scheduler._props["units"].order[ ID ] - text by ID 

where “units” - name of the view ( used as first param of createUnitsView )

Thank you.