search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

How to Maintain Values in the Header During Horizontal Scroll?

Asked by Giovanni
19 days ago.

Hello everyone,

I used the "onBeforeTimeHeaderRender" event to add <spans> with specific IDs using "args.header.html=...," which I then use to display some values.

I have the problem that if I scroll horizontally, the header gets "cleared," and I can't find an event that allows me to reinsert the values into the spans I mentioned.

Thank’s for the support

Answer posted by Dan Letecky [DayPilot]
19 days ago.

When the time header cell is partially hidden, the Scheduler adds a special overlay with the default cell content (it’s called a floating time header).

You can turn it off using the floatingTimeHeaders property.

Comment posted by Dan Letecky [DayPilot]
19 days ago.

As I’m looking at your screenshot, it looks like cells are affected even if they are not partially hidden.

I recommend using the browser developer tools to inspect the time header cell elements. You will be able to see how the additional content is hidden (it might be there but not visible, the text might get wrapped, etc.).

New Reply
This reply is
or drop files here
Your name (optional):