scrollType
Description
Optional. Specifies how scrolling behaves.
Usage
scrollType?: "default" | "column";
note
When scrollType
is set to "column"
, each column can be scrolled independently.
Default config
scrollType: "default"
important
If you use renderType: "lazy"
together with scrollType: "default"
, make sure to set a fixed card height using the cardHeight
property. Without this, cards won't appear.
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