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

Scheduler durationbarvisible false not auto adjust event height

Asked by Karin
2 months ago.

Hi, in the scheduler config i have set durationBarVisible = false;
https://api.daypilot.org/daypilot-scheduler-durationbarvisible/

However, it wont auto adjust the event height after the duration bar is hide, how to make the event height same with the row height?

Thank you

Answer posted by Dan Letecky [DayPilot]
2 months ago.

The durationBarVisible property doesn't affect the event height - you can test it by running

dp.update({durationBarVisible:false});

in the browser console at https://javascript.daypilot.org/demo/scheduler/.

You might want to check rowMarginTop (https://api.daypilot.org/daypilot-scheduler-rowmargintop/) and/or your custom CSS.

Comment posted by CC
2 months ago.

Hi Dan,

Have try using durationBarVisible:false but it still left the blank on the top on the event , and using rowMarginTop also didnt hide the blank of the event

New Reply
This reply is
Your name (optional):