ColumnScrollButton
A button with a menu allowing the user to pick a column to scroll to.
Column scroll button
//<code-header>
fiddle.title = 'Column scroll button';
//</code-header>
const taskBoard = new TaskBoard({
appendTo : targetElement,
features : {
columnToolbars : false
},
tbar : [
{ type : 'columnscrollbutton' }
],
// Columns to display
columns : [
{ id : 'backlog', text : 'Backlog', width : 250 },
{ id : 'considering', text : 'Considering', width : 250 },
{ id : 'todo', text : 'Todo', width : 250 },
{ id : 'doing', text : 'Doing', width : 250 },
{ id : 'done', text : 'Done', width : 250 },
{ id : 'ignore', text : 'Ignore', width : 250 }
],
// Field used to pair a task to a column
columnField : 'status',
// Project using inline data
project : {
tasks : [
{ id : 1, name : 'Task 1', status : 'doing' },
{ id : 2, name : 'Task 2', status : 'done' },
{ id : 3, name : 'Task 3', status : 'ignore' },
{ id : 4, name : 'Task 4', status : 'todo' },
{ id : 5, name : 'Task 5', status : 'todo' }
]
}
});When used within a TaskBoard, it connects to it automatically:
const taskBoard = new TaskBoard({
tbar : [
{ type : 'columnscrollbutton' }
]
});
When used outside of a TaskBoard, it will query globally to find one but if there are multiple on page it might have to be linked to one manually (see taskBoard:
const taskBoard = new TaskBoard({});
const picker = new ColumnScrollButton({
taskBoard // Link it to the taskBoard instance created above
});
Configs
93
Configs
93DOM
adoptWidget
appendToWidget
contentWidget
datasetWidget
htmlWidget
idWidget
insertBeforeWidget
insertFirstWidget
tagWidget
titleWidget
Float & align
alignWidget
anchorWidget
centeredWidget
constrainToWidget
draggableWidget
floatingWidget
hideAnimationWidget
maximizeOnMobileWidget
positionedWidget
scrollActionWidget
showAnimationWidget
xWidget
yWidget
Layout
alignSelfWidget
dockWidget
flexWidget
heightWidget
hiddenWidget
marginWidget
maxHeightWidget
maxWidthWidget
minHeightWidget
minWidthWidget
textAlignWidget
weightWidget
widthWidget
Misc
badgeBadge
bubbleEventsEvents
dataFieldWidget
defaultBindPropertyWidget
disabledWidget
elementAttributesWidget
ignoreParentReadOnlyWidget
localeClassLocalizable
localizableLocalizable
localizablePropertiesLocalizable
maskDefaultsWidget
maskedWidget
monitorResizeWidget
ownerWidget
preventTooltipOnTouchWidget
readOnlyWidget
refWidget
rippleWidget
rootElementWidget
showTooltipWhenDisabledWidget
tabWidget
tooltipWidget
Other
behaviorTypeButton
callOnFunctionsWidget
columnWidget
hrefButton
iconButton
iconAlignButton
menuButton
menuIconButton
pressedButton
pressedClsButton
pressedIconButton
renditionButton
rtlRTL
spanWidget
splitButton
supportsPressedClickButton
tabIndexButton
targetButton
textButton
toggleableButton
toggleGroupButton
Scrolling
scrollableWidget
Properties
85
Properties
85Class hierarchy
Identifies an object as an instance of ColumnScrollButton class, or subclass thereof.
Identifies an object as an instance of ColumnScrollButton class, or subclass thereof.
isBadgeBadge
isButtonButton
isDelayableDelayable
isEventsEvents
isKeyMapKeyMap
isLocalizableLocalizable
isRTLRTL
isTaskBoardLinkedTaskBoardLinked
isWidgetWidget
CSS
clsWidget
DOM
appendToWidget
contentWidget
contentElementWidget
datasetWidget
elementWidget
focusableElementWidget
focusElementWidget
htmlWidget
idWidget
insertBeforeWidget
insertFirstWidget
overflowElementWidget
styleWidget
Layout
alignSelfWidget
flexWidget
heightWidget
marginWidget
maxHeightWidget
maxWidthWidget
minHeightWidget
minWidthWidget
scrollableWidget
widthWidget
Misc
badgeBadge
callOnFunctionsEvents
cellInfoWidget
disabledWidget
localeHelperLocalizable
localeManagerLocalizable
readOnlyWidget
refWidget
tabWidget
tooltipWidget
Other
behaviorTypeButton
columnWidget
hrefButton
iconButton
iconAlignButton
menuButton
menuIconButton
pressedButton
pressedClsButton
pressedIconButton
renditionButton
rtlRTL
spanWidget
splitButton
tabIndexButton
targetButton
textButton
toggleableButton
toggleGroupButton
Functions
59
Functions
59Configuration
Events
detachListenersBase
Misc
animatePropertyBase
callbackBase
downloadTestCaseBase
resolveCallbackBase
updateLocalizationLocalizable
Other
addListenerEvents
announceAriaLiveWidget
composeWidget
createOnFrameDelayable
disableWidget
eachWidgetButton
enableWidget
exitFullscreenWidget
focusWidget
hasListenerEvents
maskWidget
onEvents
recomposeWidget
relayAllEvents
removeAllListenersEvents
removeListenerEvents
requestFullscreenWidget
resumeEventsEvents
revertFocusWidget
suspendEventsEvents
toggleButton
triggerEvents
unEvents
unmaskWidget
Events
19
Events
19actionButton
beforeDestroyEvents
beforeHideWidget
beforeShowWidget
beforeShowMenuButton
beforeToggleButton
catchAllEvents
clickButton
destroyEvents
elementCreatedWidget
focusInWidget
focusOutWidget
hideWidget
paintWidget
readOnlyWidget
recomposeWidget
resizeWidget
showWidget
toggleButton
Event handlers
19
Event handlers
19onActionButton
onBeforeDestroyEvents
onBeforeHideWidget
onBeforeShowWidget
onBeforeShowMenuButton
onBeforeToggleButton
onCatchAllEvents
onClickButton
onDestroyEvents
onElementCreatedWidget
onFocusInWidget
onFocusOutWidget
onHideWidget
onPaintWidget
onReadOnlyWidget
onRecomposeWidget
onResizeWidget
onShowWidget
onToggleButton
Typedefs
6
Typedefs
6AlignSpecWidget
BryntumListenerConfigEvents
CellWidgetContextWidget
ColorWidget
DelayableConfigDelayable
KeyMapConfigKeyMap