I assume that you are talking about the visible date range that is returned by visibleStart()/visibleEnd() methods, i.e. the whole grid.
In that case, you can try this.
CSS
.scheduler_default_event:not(.scheduler_default_event_continueleft) .continue_left,
.scheduler_default_event:not(.scheduler_default_event_continueright) .continue_right {
display: none;
}
Config:
onBeforeEventRender: args => {
args.data.areas = [
{
left: 5,
top: "calc(50% - 10px)",
width: 20,
height: 20,
backColor: "#999999",
fontColor: "#ffffff",
borderRadius: "50%",
symbol: "../icons/daypilot.svg#minichevron-left-2",
cssClass: "continue_left",
},
{
right: 5,
top: "calc(50% - 10px)",
width: 20,
height: 20,
backColor: "#999999",
fontColor: "#ffffff",
borderRadius: "50%",
symbol: "../icons/daypilot.svg#minichevron-right-2",
cssClass: "continue_right",
}
];
}
This adds active areas with arrows to the start and end of each event. They are only visible if the event is marked with scheduler_default_event_continueleft
or scheduler_default_event_continueright
. The Scheduler uses these CSS classes to mark events that go over the grid edges.
If you mean the viewport (the section of the grid that is visible on screen), these classes do not apply. If you enable the floating events feature (it is enabled by default), the Scheduler will add a special floating div to events that start before the viewport start. This floating div displays the event text so it is always readable. Also, the default CSS theme displays a small arrow at the visible start of such events. The floating events are only implemented for the left edge of the viewport.