The taskHeight property (number) sets the height of task boxes in the Gantt Chart component, in pixels. It also affects the row height, which is derived from the task box height.
DayPilot.Gantt.taskHeight25Changing taskHeight changes the visual height of task boxes and the row height that is derived from them.
JavaScript
const gantt = new DayPilot.Gantt("dp", {
taskHeight: 30,
// ...
});
gantt.init();Angular
<daypilot-gantt [config]="config"></daypilot-gantt>config: DayPilot.GanttConfig = {
taskHeight: 30,
// ...
};React
<DayPilotGantt
taskHeight={30}
{/* ... */}
/>Vue
<DayPilotGantt
:taskHeight="30"
<!-- ... -->
/>