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
4 years 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]
4 years 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
4 years 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

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.