Duration bar for some events only Asked by Albert4 years ago. Is there any option to show/hide the duration bar for some events? I'm trying to show the duration bar red color for some property and let the rest with the bar hidden. If y try to color the bar with the same event background color, the top border disappears. Kind regards. how-tojavascript example.png
Answer posted by Dan Letecky [DayPilot]4 years ago. You can use barHidden property of the event to hide the duration bar. You can add it to the source data object or you can add it using onBeforeEventRender: dp.onBeforeEventRender = args => { args.data.barHidden = true; };