React Scheduler > Click and drag on blank space in the timeline to scroll
9 months ago.
Hello,
Does the scheduler currently support click & hold on the blank space of the timeline to scroll both vertically and horizontally?
Additional context in our code:
-
We currently have time range selection enabled (while in fact we want to disable this feature), but hide the time range selection shadow with `onTimeRangeSelecting > cssClass` because we want to simulate empty cell click using `onTimeRangeSelected`.
const onTimeRangeSelecting = (
args
) => {
args.cssClass = TIME_RANGE_SELECTION_HIDDEN_CLASS; // -> display: none;
};
const onTimeRangeSelected = useCallback(
(args) => {
switch (args.origin) {
// Simulating a grid cell click
case 'click': {
onGridCellClick();
break;
}
}
},
[onGridCellClick]
);
DayPilot