Skip to main content


Optional. Sets the height of an item

itemHeight?: number | string;

Default value: 37


// sets the height of an item as a number
const list = new dhx.List("list_container", {

// sets the height of an item as a string value
const list = new dhx.List("list_container", {

Related sample: List. Setup list item height

The usage of the CSS calc() function within the itemHeight property is not possible.

The default height of a list item is 37 when the virtual property is set to true. See the Configuration article for more information.