TaskBoardScroll
Configs
1
Configs
1Default 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
Properties
2Identifies an object as an instance of TaskBoardScroll class, or subclass thereof.
Identifies an object as an instance of TaskBoardScroll class, or subclass thereof.
Functions
4
Functions
4Scroll specified column into view.
taskBoard.scrollToColumn('backlog');
taskBoard.scrollToColumn(taskBoard.columns.first);
| Parameter | Type | Description |
|---|---|---|
columnOrId | ColumnModel | Number | String | Column or its id |
options | BryntumScrollOptions | 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);
| Parameter | Type | Description |
|---|---|---|
swimlaneOrId | SwimlaneModel | Number | String | Swimlane or its id |
columnOrId | ColumnModel | Number | String | Column or its id |
options | BryntumScrollOptions | Scroll options, see scrollOptions |
Scroll specified swimlane into view.
taskBoard.scrollToSwimlane('high');
taskBoard.scrollToSwimlane(taskBoard.swimlanes.last);
| Parameter | Type | Description |
|---|---|---|
swimlaneOrId | SwimlaneModel | Number | String | Swimlane or its id |
options | BryntumScrollOptions | Scroll options, see scrollOptions |
Scroll the specified task into view.
taskBoard.scrollToTask(10);
taskBoard.scrollToTask(taskStore.first);
| Parameter | Type | Description |
|---|---|---|
taskOrId | TaskModel | Number | String | |
options | BryntumScrollOptions | Scroll options, see scrollOptions |