TaskBoardScroll

Configs

1

Default scroll options, see the options for scrollIntoView

Defaults to:

scrollOptions : {
    animate   : true,
    block     : 'nearest',
    highlight : true
}

Can be overridden per call for all scroll functions.

Properties

2
isTaskBoardScroll: Boolean= truereadonly
Identifies an object as an instance of TaskBoardScroll class, or subclass thereof.
isTaskBoardScroll: Boolean= truereadonlystatic
Identifies an object as an instance of TaskBoardScroll class, or subclass thereof.

Functions

4

Scroll specified column into view.

taskBoard.scrollToColumn('backlog');
taskBoard.scrollToColumn(taskBoard.columns.first);
ParameterTypeDescription
columnOrIdColumnModel | Number | String

Column or its id

optionsBryntumScrollOptions

Scroll options, see scrollOptions

Scroll to the intersection between specified swimlane and column.

taskBoard.scrollToIntersection('high', 'done');
taskBoard.scrollToIntersection(taskBoard.swimlanes.low, taskBoard.columns.todo);
ParameterTypeDescription
swimlaneOrIdSwimlaneModel | Number | String

Swimlane or its id

columnOrIdColumnModel | Number | String

Column or its id

optionsBryntumScrollOptions

Scroll options, see scrollOptions

Scroll specified swimlane into view.

taskBoard.scrollToSwimlane('high');
taskBoard.scrollToSwimlane(taskBoard.swimlanes.last);
ParameterTypeDescription
swimlaneOrIdSwimlaneModel | Number | String

Swimlane or its id

optionsBryntumScrollOptions

Scroll options, see scrollOptions

Scroll the specified task into view.

taskBoard.scrollToTask(10);
taskBoard.scrollToTask(taskStore.first);
ParameterTypeDescription
taskOrIdTaskModel | Number | String
optionsBryntumScrollOptions

Scroll options, see scrollOptions