I am using DayPilot Pro for JavaScript 2018.3.3400
Check below the code that creates the scheduler. It references some other functions that set widths & heights but the basic configuration is in this function. If you need the other functions just let me know.
CreateScheduler: function (scheduler) {
var instance = this;
var days = scheduler.data('days');
var dp = new DayPilot.Scheduler(scheduler.attr('id'));
scheduler.data('dp', dp);
var cellWidth = instance.GetCellWidth(days);
instance.SetCellWidth(dp, cellWidth);
instance.SetCellHeight(false);
instance.SetTimeHeaderHeight(dp);
instance.SetSchedulerHeight(scheduler);
dp.eventMarginRight = instance.settings.cellMargin;
dp.eventMarginLeft = instance.settings.cellMargin;
dp.eventMarginTop = instance.settings.cellMargin;
dp.eventMarginBottom = instance.settings.cellMargin;
// view
dp.startDate = new DayPilot.Date(scheduler.data('start'));
dp.days = days;
dp.scale = instance.scale;
dp.timeHeaders = instance.timeHeaders;
//theme
dp.cssClassPrefix = instance.settings.themeClass;
dp.cssOnly = true;
//resources
dp.treeEnabled = false;
//cell click handling
dp.timeRangeSelectedHandling = "Disabled";
//enable event double click
dp.eventDoubleClickHandling = true;
//dp.eventUpdateInplaceOptimization = true;
//disable progressive rendering
dp.dynamicEventRendering = "Disabled";
//dp.progressiveRowRendering = false;
//allow dragging between schedulers
if (instance.numberOfSchedulers > 1) {
dp.dragOutAllowed = true;
}
instance.DisplayVerticalSeparators(scheduler);
//Handle scheduler events
dp.onBeforeTimeHeaderRender = function (args) { instance.OnBeforeTimeHeaderRender(instance, scheduler, args); };
dp.onBeforeResHeaderRender = function (args) { instance.OnBeforeResHeaderRender(instance, scheduler, args); };
dp.onBeforeEventRender = function (args) { instance.OnBeforeEventRender(instance, scheduler, args); };
dp.onBeforeCellRender = function (args) { instance.OnBeforeCellRender(instance, scheduler, args); };
dp.onEventMove = function (args) { instance.OnEventMove(instance, scheduler, args); };
dp.onEventMoving = function (args) { instance.OnEventMoving(instance, scheduler, args); };
dp.onAfterRender = function (args) { instance.OnAfterRender(instance, scheduler, args); };
dp.onEventDoubleClick = function (args) { instance.onEventDoubleClick(instance, scheduler, args); };
instance.CreateDpContextMenu(scheduler);
dp.init();
setTimeout(function () {
instance.LoadResources(scheduler);
//events
instance.LoadEvents(scheduler);
}, 0);
}