Skip to main content

scrollType

Description

Optional. Specifies the scrolling behavior type

Usage

scrollType?: "default" | "column";
note

Using scrollType: "column" allows each column to be scrolled independently.

Default config

scrollType: "default"
important

When combining renderType: "lazy" with scrollType: "default", make sure to set a fixed height for cards using the cardHeight property. Without this, cards won’t appear properly.

Example

new kanban.Kanban("#root", {
columns,
cards,
rows,
scrollType: "column",
// other parameters
});

Change log: This property was introduced in v1.2

Related articles: Configuration

Related sample: Kanban. Fixed headers, lazy rendering and column scroll