dynamically populating the y_unit in timeline view?

I have found examples on how to dynamically populate the x_unit using connector. Is there any help on populating the y_unit into an hierarhical array using php and mysql? Thanks!

Hello,

What you can do for now is to update scheduler._props.unit.y_unit array (not to simply change link to another array!) and call ‘onOptionsLoad’ event.
Or I can send you our latest dev version of scheduler which will include updateCollection() function.

Best regards,
Ilya

Are there any examples on how to do this? Please send the latest dev version that can help me achieve this. Thanks!

Hello,

Sample:

[code]

html, body{ margin:0px; padding:0px; height:100%; overflow:hidden; }
 
 
[/code] Click on the 'Switch' button.

I’ve attached updated files.

Best regards,
Ilya
updated.zip (25 KB)