I made a wrapper for daypilot and override method _getScrollableWidth.
if (innerHeight > height && !autoHeight && this.reserveSpaceForScrollBar === undefined) || this.reserveSpaceForScrollBar) {
scrollBarWidth = DayPilot.swa();
}
var full = total - header - manualAdjustment - scrollBarWidth;
return full;
this.reserveSpaceForScrollBar - flag which I set when I need to have this blank space for the header.