Timeline view: Dynamically change row sort order?

Is there a built-in way to affect sort order of the rows and sections based on a user-based function? Right now I am attempting to refresh the view by re-creating the scheduler config, reordering the sections (and rows inside each section) by hand.

Is there an existing example?

Hello @thisismatt ,

Regarding this part:

there a built-in way to affect sort order of the rows

Yes, you can create your custom sort function as described by the following link:
https://docs.dhtmlx.com/scheduler/timeline_view.html#sortingofevents

Regarding this part:

and sections based on a user-based function

As you are passing sections as an array into the timeline y_unit property:
y_unit: sections*array*
you can affect the sections array as you need, and then recreate the timeline view with updated sections

Kind regards,