Skip to main content

IPlannerItem

@spartanfx/react v1.2.2


@spartanfx/react / index / IPlannerItem

Interface: IPlannerItem

A planner item representing a range displayed on the timeline.

Remarks​

Each planner item is split into one or many IPlannerRangeChildItem entries for rendering.

Properties​

Required​

PropertyTypeDescription
elementType"range"The planner element type (currently always "range").
endDateDateEnd date of the item.
itemIdnumberUnique identifier for the planner item.
rangeChildItemsIPlannerRangeChildItem[]List of generated or user-defined range segments.
rangeIdstring | numberIdentifies the logical group of range segments.
startDateDateStart date of the item.
titlestringDisplay title shown inside the planner grid.

Options​

PropertyTypeDescription
data?unknownMapped data object representing the original raw item.
description?stringOptional item description.
duration?numberComputed duration of the item.
group?stringOptional grouping key (department, project, etc.).
id?numberOptional external system ID.
logo?stringOptional logo or icon resource.

Appearance & theming​

PropertyTypeDescription
color?ColorDisplay color for the item or range group.
textColor?stringOptional text color override resolved from the color mapping.