search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Shift + select when multirange is active doesn't clear

Asked by Timo Klingler
9 months ago.

Dear Daypilot-Support,

I work as a developer for RTM Systems. When performing shift + select when multirange is active, the previous selection doesn’t clear properly. Please review the attached GIF.

Kind regards,

Timo Klingler

Comment posted by Dan Letecky [DayPilot]
9 months ago.

I assume that the third click is made without a Shift key pressed. In the screencast, there is a slight delay before the additional range selection appears which suggests an update of the Scheduler is invoked and the additional selection appears only during the update.

Unfortunately, I’m not able to reproduce the issue. Could you please post your config?

Comment posted by Anonymous
8 months ago.

I Think the main problem is that when you shift click and don’t drag the area, onTimeRangeSelected is fired on mouse up:

ref={schedulerRef}
allowEventOverlap={true}
allowMultiRange={true}
allowMultiMove={true}
multiMoveVerticalMode="All"
eventHeight={25}
headerHeight={20}
allowMultiSelect={true}
rectangleSelectHandling="Enabled"
rectangleSelectMode="Free"
bubble={bubble}
drawBlankCells={false}
rowHeaderWidthAutoFit={false}
rowHeaderScrolling={true}
rowHeaderWidth={rowHeaderWidth}
rowRightClickHandling="ContextMenu"
doubleClickTimeout={0}
cellWidthMin={40}
eventClickHandling="Select"
eventDoubleClickHandling="CallBack"
eventMoveHandling="Update"
eventResizeHandling="Update"
moveBy="Full"
timeRangeDoubleClickHandling="Enabled"
floatingTimeHeaders={true}
scale={scale}
separators={seperators}
timeHeaders={timeHeaders}
rowHeaderColumns={rowHeaderColumns}
useEventBoxes="Never"
heightSpec="Parent100Pct"
cellWidthSpec="Auto"
cellWidth={38}
eventMinWidth={19}
dynamicLoading={true}
dynamicEventRendering={isScreenshotTestMode() ? "Disabled" : "Progressive"}
scrollDelayDynamic={0}
scrollDelayEvents={0}
dynamicEventRenderingMargin={10000}
onScroll={onScroll}
onEventSelected={onEventSelected}
onRectangleSelect={onRectangleSelect}
onBeforeCellRender={onBeforeCellRender}
onBeforeEventExport={onBeforeEventExport}
onBeforeTimeHeaderRender={onBeforeTimeHeaderRender}
onBeforeTimeHeaderExport={onBeforeTimeHeaderExport}
onBeforeRowHeaderRender={onBeforeRowHeaderRender}
onBeforeRowHeaderExport={onBeforeRowHeaderExport}
onEventMove={onEventMove}
onEventResize={onEventResize}
onEventDoubleClick={onEventDoubleClicked}
onEventRightClick={onEventRightClick}
onEventClick={onEventClick}
onEventFilter={onEventFilter}
onRowClick={onRowClick}
onRowFilter={onRowFilter}
onTimeHeaderClicked={onTimeHeaderClick}
timeRangeRightClickHandling="ContextMenu"
onTimeRangeRightClick={onTimeRangeRightClick}
onTimeRangeDoubleClicked={onTimeRangeDoubleClick}
onTimeRangeSelecting={onTimeRangeSelecting}
onTimeRangeSelected={onTimeRangeSelected}
timeRangeSelectedHandling="Enabled"
days={props.days}
locale={props.locale}
startDate={props.startDate}
resources={resourceForCal}
events={adaptedEvents}
treeEnabled={props.treeEnabled}
treeIndent={5}
This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.