Templates for resource grouping & hierarchy timeline

Hi,

Within timeline, we’re looking to create a custom template for/with resource grouping & hierarchy. From the documentation, that can be done with a resource grid but is that possible with a grouping/hierarchy structure?

We’re trying to include a button to invoke a drawer with each of the parent records in the hierarchy.

Many thanks