Skip to main content

cardHeight

Description

Optional. Defines the height of the cards.

Usage

cardHeight?: number; // px
important

When using renderType: "lazy" together with scrollType: "default", it's important to set a fixed height for cards using the cardHeight property. Without this, the cards won't be visible.

Example

new kanban.Kanban("#root", {
cards,
columns,
cardHeight: 150, // px
// other parameters
});

Change log: This property was introduced in version 1.2

Related articles: Configuration

Related sample: Kanban. Lazy rendering and column scroll