We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2b2dd7 commit edc7819Copy full SHA for edc7819
packages/devextreme/js/__internal/scheduler/workspaces/m_work_space.ts
@@ -511,7 +511,13 @@ class SchedulerWorkSpace extends Widget<WorkspaceOptionsInternal> {
511
512
const isMultiSelectionAllowed = this.option('allowMultipleCellSelection');
513
const currentCellData = this._getFullCellData($cell);
514
- const focusedCellData = this.cellsSelectionState.getFocusedCell().cellData;
+ const focusedCell = this.cellsSelectionState.getFocusedCell();
515
+
516
+ if (!focusedCell) {
517
+ return;
518
+ }
519
520
+ const focusedCellData = focusedCell.cellData;
521
522
const nextFocusedCellData = this.cellsSelectionController.moveToCell({
523
isMultiSelection,
0 commit comments