Our state of the art Gantt chart


Post by davegould41 »

Hi team,

Is it possible to display ResourceTimeRange "on top of" an Event without changing the order of precedence of the canvases?

The way the DOM is created for each of the layers (resourceTimeRange, event, etc), it doesn't seem possible to override the layering for just one element, since it's defined at the canvas layer.

I see that there is a demo for changing the z-indexes of the canvases, but this is not the behavior were looking for:
https://bryntum.com/products/schedulerpro/examples-scheduler/layers

Let me know if you have a configuration or workaround. Thanks!


Post by marcio »

Hey davegould41,

Thanks for reaching out and welcome to our forums. :)

What is your use case? Currently, how we build the layers and the CSS structure works only supports changing the full canvas z-index.

Best regards,
Márcio


Post by davegould41 »

Hi Marcio, thanks for the quick reply and warm welcome.

We're creating a custom hover component, represented as a resourceTimeRange. When hovering over scheduling entities, we manipulate a resource time range (setting startDate, etc) to display in scheduler via custom resourceTimeRangeRenderer.

The problem is, this needs to display over Events which introduces the z-index issue.

We've thought about leveraging events for this, but the eventStore is subject to containing a large number records and were trying to keep this feature contained to an implementation that requires less processing, since its just for display.

Do you have any suggestions?

Im curious, if there's a path we can take for a custom record entity that is not resourceTimeRanges or events that can have a higher z-index and its own store?

Appreciate your assistance!


Post by alex.l »

Hi davegould41,

Thanks for your question.
We discussed your request internally and found that it is not reachable with easy way to make it working good for all scenarios, so I've opened a feature request https://github.com/bryntum/support/issues/9766 to make that possible with easy way.
You can subscribe on ticket updates to be notified when it's done.

All the best,
Alex


Post by davegould41 »

Thanks!


Post Reply