Skip to main content

itemHeight

sets the height of an item

itemHeight?: number | string;

Example

// sets the height of an item as a numbervar dataview = new dhx.DataView("dataview", {     itemHeight:30});
// sets the height of an item as a string valuevar dataview = new dhx.DataView("dataview", {     itemHeight:"30px"});

Related sample: Dataview. Setup Dataview Item Height

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