SchedulingIssueResolutionPopup

A Popup informing user of a scheduling issue that needs manual resolution. Examples of such cases could be an infinite cycle, a scheduling conflict or a calendar misconfiguration. The dialog displays the case description and lets the user pick one of the possible resolutions.

Scheduling issue resolution popup
//<code-header>
fiddle.title = 'Scheduling issue resolution popup';
//</code-header>
const scheduler = new SchedulerPro({
    project : {
        events : [
            {
                id           : 1,
                name         : 'Write docs',
                resourceId   : 1,
                startDate    : '2020-03-23',
                duration     : 2,
                durationUnit : 'h'
            }
        ],

        resources : [
            { id : 1, name : 'Albert' },
            { id : 2, name : 'Bill' }
        ]
    },

    appendTo   : targetElement,
    startDate  : '2020-03-23',
    endDate    : '2020-03-24',
    autoHeight : true,
    eventStyle : 'colored',
    viewPreset : 'hourAndDay',
    columns    : [
        {
            text  : 'Resource',
            field : 'name'
        }
    ],
    tbar : [
        {
            text : 'Add invalid dependency',
            icon : 'fa-bug',
            cls  : 'b-invalid-dependency-button b-no-monkeys',
            onClick() {
                // Here we add an invalid dependency linking "Arrive" event to itself
                // which naturally building a cycle...
                scheduler.dependencyStore.add({ fromEvent : 1, toEvent : 1 });
            }
        }
    ]
});

Configs

120

Common

listenersEvents

Accessibility

ariaLabelWidget
keyMapKeyMap

Content

bbarPanel
defaultsContainer
footerPanel
headerPanel
itemsContainer
lazyItemsContainer
namedItemsContainer
stripsPanel
tbarPanel
textContentContainer
toolsPanel

CSS

bodyClsPanel
borderContainer
clsWidget
colorWidget
htmlClsWidget
itemClsContainer
styleWidget
uiPanel

DOM

adoptWidget
appendToWidget
contentWidget
datasetWidget
htmlWidget
idWidget
tagWidget

Float & align

alignWidget
anchorWidget
centeredWidget
floatingWidget
xWidget
yWidget

Layout

alignSelfWidget
dockWidget
flexWidget
heightWidget
hiddenWidget
hideWhenEmptyContainer
layoutContainer
layoutStyleContainer
marginWidget
maxHeightWidget
maxWidthWidget
minHeightWidget
minWidthWidget
textAlignWidget
weightWidget
widthWidget

misc

tabBarItemsContainer

Misc

dataFieldWidget
disabledWidget
iconPanel
localeClassLocalizable
localizableLocalizable
maskedWidget
ownerWidget
readOnlyWidget
refWidget
rippleWidget
tabWidget
titlePanel
tooltipWidget

Other

columnWidget
defaultFocusContainer
drawerPanel
labelPositionContainer
modalPopup
renditionContainer
resizableResizable
rtlRTL
spanWidget

Record

recordContainer

Scrolling

State

stateIdState

Properties

98

Class hierarchy

isSchedulingIssueResolutionPopup: Boolean= truereadonly
Identifies an object as an instance of SchedulingIssueResolutionPopup class, or subclass thereof.
isSchedulingIssueResolutionPopup: Boolean= truereadonlystatic
Identifies an object as an instance of SchedulingIssueResolutionPopup class, or subclass thereof.
isContainerContainer
isDelayableDelayable
isEventsEvents
isKeyMapKeyMap
isLocalizableLocalizable
isPanelPanel
isPopupPopup
isResizableResizable
isStateState
isToolableToolable
isWidgetWidget

Accessibility

keyMapKeyMap

Content

bbarPanel
tbarPanel

CSS

clsWidget

DOM

appendToWidget
contentWidget
datasetWidget
elementWidget
htmlWidget
idWidget
styleWidget

Float & align

xWidget
yWidget

Layout

alignSelfWidget
flexWidget
heightWidget
layoutContainer
layoutStyleContainer
marginWidget
maxHeightWidget
maxWidthWidget
minHeightWidget
minWidthWidget
widthWidget

Lifecycle

configBase

Misc

cellInfoWidget
disabledWidget
localeHelperLocalizable
localeManagerLocalizable
readOnlyWidget
refWidget
tabWidget
titlePanel
tooltipWidget

Other

$namestaticWidget
columnWidget
firstItemContainer
hasChangesContainer
isValidContainer
itemsContainer
labelPositionContainer
lastItemContainer
renditionContainer
resizableResizable
rtlRTL
spanWidget
toolsPanel
typestaticWidget
valuesContainer

Record

recordContainer

State

stateState

Visibility

hiddenWidget
isVisibleWidget

Widget hierarchy

ownerWidget
parentWidget
widgetMapContainer

Functions

77

Other

Returns parameters for the provided resolution that should be passed to its resolve method.

ParameterTypeDescription
resolutionObject

Scheduling exception resolution

Returns: Array -

The resolution arguments

Resolves a scheduling conflict happened on the project (a scheduling conflict or a calendar misconfiguration).

ParameterTypeDescription
eventObject

The scheduling exception event data:

event.sourceProjectModel

The project

event.schedulingIssue*

The scheduling exception

event.continueWithResolutionResultfunction

The function to be called once the resolution is chosen and applied (or it was decided to cancel the changes).

Returns: Promise -

Promise that gets resolved when user picks a resolution and clicks "Apply" (or "Cancel") button.

addContainer
closePopup
composeWidget
createOnFrameDelayable
disableWidget
enableWidget
focusWidget
getAtContainer
getWidgetByIdContainer
insertContainer
LstaticLocalizable
maskWidget
onEvents
recomposeWidget
relayAllEvents
removeContainer
removeAllContainer
resetValuesContainer
setValuesContainer
triggerEvents
unEvents
unmaskWidget

Configuration

applyDefaultsstaticBase

Events

Float & align

alignToWidget
setXYWidget
showByWidget
toFrontWidget

Lifecycle

createstaticWidget
destroystaticBase
initClassstaticWidget

Misc

attachTooltipstaticWidget
fromElementstaticWidget
fromSelectorstaticWidget
getByIdstaticWidget
isOfTypeNamestaticBase
mixinstaticBase
optionalLstaticLocalizable

State

Visibility

hideWidget
showWidget

Widget hierarchy

closestWidget
containsWidget
ownsWidget
queryWidget
queryAllWidget
upWidget

Events

22

Event handlers

22

Typedefs

7

CSS variables

60