It looks like you might be referring to this question:
http://forums.daypilot.org/Topic.aspx/3066/increase-cell-width-based-on-number-of-events
I understand the requirement but I'm afraid there is no easy way to modify the source code to meet it.
The core of the problem is that the width of the event is always derived from the timeline (time axis). You have a chance to "round" the start and end to the cell size using UseEventBoxes but it doesn't support breaking the timeline. Changing this behavior by modifying the source code is nearly impossible (i.e. it equals rewriting a large part of the code and that doesn't make any sense).
This is as close as you can get:
1. You can evaluate the number events in a each cell - in advance and outside of DayPilot - and decide that you need to make this cell wider.
2. You can build a custom timeline using Scale=Manual and Timeline property (http://doc.daypilot.org/scheduler/timeline/) and use custom cell width calculated in step #1.
3. You need to adjust the event start and width before passing them to DayPilot to make them display in one row.
Example:
1. Event #1 will start at 00:00 and end at 08:00
2. Event #2 will start at 08:00 and end at 16:00
3. Event #3 will start at 16:00 and end at 24:00