Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

GM - Gantt Chart

(gmpkg:ganttChartLwc)

Documentation

GM – Gantt Chart component provides clarity to complex project timelines with numerous tasks, shifting deadlines, and overlapping dependencies. It helps you see the bigger picture while tracking details. With GridMate’s Gantt Chart, this clarity stays within your projects no need to switch between spreadsheets or external tools, as everything is connected to your live data.

Use case: Plan, schedule and track a project's tasks, dependencies and resources on a live timeline. See Gantt Chart.

Specification

Property
Type
Description

Model / configuration

String

Gantt configuration to render, picked from the list of available configurations. Leave blank on a record page to use that record's own configuration.

Gantt Id

String

Identifier for the Gantt chart parent record.

Title

String

Title displayed at the top of the Gantt chart. The default value is Gantt Chart.

Icon name

String

Icon displayed for the Gantt chart, You can get the icon name from https://lightningdesignsystem.com/icons/. The default value is standard:chart.

Enable multi-select

Boolean

Check this option to allow selecting multiple tasks in the chart. The default value is false.

Enable tree reorder

Boolean

Check this option to allow tasks to be reordered in the task tree. The default value is false.

Enable editing

Boolean

Check this option to allow tasks to be edited directly in the chart. The default value is false.

Enable deletion

Boolean

Check this option to allow the end-user to delete tasks. The default value is false.

Enable creation

Boolean

Check this option to allow the end-user to create tasks. The default value is true.

Enable checklist

Boolean

Check this option to enable task checklists. The default value is false.

Default scheduling mode

String

Scheduling mode applied when the chart opens: msproject | auto | manual. See Task Scheduling Mode. The default value is msproject.

Gantt configuration JSON

String

JSON configuration that defines the data model for the Gantt Chart. JSON string configuration

Tree column configuration JSON

String

Configuration for the columns displayed in the task tree.

Default view

String

Initial timeline scale: Day | Week | Month | Year | Full. The default value is Month.

Zoom Level

String

Initial zoom level of the timeline, in percent: 25 | 50 | 100 | 200. The default value is 100.

Visible tasks

Integer

The number of tasks displayed by default. Use 999 to fill the available height. The default value is 10.

Row height (px)

Integer

Height of each row in pixels. The default value is 40.

Slot size (px)

Integer

Width of each time slot in pixels. The default value is 100.

Show only work hours

Boolean

Check this option to show only the defined work hours in the chart. The default value is false.

Hours per day

Integer

Number of working hours in a day, used for duration calculations (1-24). When Work hours is set, the hours per day are derived from it. The default value is 8.

Work hours

String

Working time ranges within a day, as a ',' separated list of HH:MM-HH:MM ranges, e.g. 08:30-12:30,13:30-17:30.

Allow export

Boolean

Check this option to allow the end-user to export the chart. The default value is true.

Allow baselines

Boolean

Check this option to allow the end-user to create and select baselines. The default value is true.

Allow workload

Boolean

Check this option to allow the end-user to manage the resource workload. The default value is true.

Allow fullscreen

Boolean

Check this option to allow the end-user to toggle fullscreen. The default value is true.

Freeze completed tasks

Boolean

Check this option to keep 100% completed tasks in place when tasks are rescheduled automatically (they can still be moved manually). The default value is true.

Work day start

Integer

Deprecated — use Work hours. This property is no longer used.

Work day end

Integer

Deprecated — use Work hours. This property is no longer used.

Hour span

Integer

The time interval that defines a task slot’s length and the step size for moving tasks on the timeline (max 12h). The default value is 1.

Work week start

Integer

The day the workweek starts, default is 1 (Monday).

Work week end

Integer

The day the workweek ends, default is 5 (Friday).

First day of week

Integer

Representation of the first day of the week (1-7). The default value is 1.

Snap to working days

Boolean

Check this option to snap task dates to working days and compute durations in working days. Not available on Experience Cloud pages.

List panel open by default

Boolean

Check this option to open the left (list) panel when the chart loads. The default value is false.

Editor panel open by default

Boolean

Check this option to open the right (editor) panel when the chart loads. The default value is false.

Default list panel width (%)

Integer

Width of the left panel as a percentage of total width, up to 100%. The default value is 50.

Default editor panel width (%)

Integer

Width of the right panel as a percentage of total width, up to 100%. The default value is 30.

API Reference

Last updated

Was this helpful?