Skip to main content

scrollType

Description

Optional. Defines a type of scrolling

Usage

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

If you use the scrollType: "column" setting, you will be able to scroll each column separately.

Default config

scrollType: "default"
important

If you combine the renderType: "lazy" and scrollType: "default" settings, don't forget to specify a static height for cards via the cardHeight property. Unless you specify it, the cards will not be displayed.

Example

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

Change log: The property was added in v1.2

Related articles: Configuration

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