GanttViewProps
Represents the required props which every GanttView must accept.
Definition
Package:@progress/kendo-react-gantt
Properties
dateRange?
DateRange | (args: GanttViewDateRangeArgs) => DateRange
Overrides the dateRange calculated by the Gantt component.
If a function is passed, an object of type GanttViewDateRangeArgs will be passed.
name?
string
The name property is used by the Gantt to match which view is selected. Every view has a default name.
slotWidth?
number
The width of a single time slot in pixels. Default is 100px.
100
timelineHeaderCell?
ComponentType<GanttViewTimelineHeaderCellProps>
The component to be rendered in header cells of the timeline part of the Gantt.
title?
string | (localization: LocalizationService) => string
The title to be displayed in the view selection list in the Toolbar. If a function is passed, it will receive a LocalizationService as an argument.
workDayEnd?
string
Sets the end of the work day.
workDayStart?
string
Sets the start of the work day.
workWeekEnd?
Day
The end of the work week.
The start of the work week.