Skip to main content
This page is based on source code analysis. Some UI behaviors described here may vary depending on your version. Verify the editing experience in your Gantt installation.

Prerequisites

  • A Gantt widget with grid columns configured
  • Edit mode enabled (click the Edit button in the toolbar)

How Inline Cell Editing Works

Inline cell editing lets you click directly on a grid cell to modify its value. Each column can have an associated editor type that determines the input widget shown when editing. The Gantt supports four editor types:
Editor TypeInput WidgetUse Case
textText input fieldFree-text fields like titles or descriptions
numberNumeric input fieldDuration, percentage, or numeric custom fields
dateDate pickerStart date, end date, or deadline fields
selectDropdown menuEnumeration fields like status or priority
Each editor uses a mapTo property that links the editor to the underlying task property it reads from and writes to.

Built-In System Column Editors

The Gantt includes several built-in system columns with pre-configured inline editors:
System ColumnEditor TypeBehavior
start_dateDate pickerOpens a date picker mapped to the configured start field
end_dateDate picker (end date)Validates that end date is not before start date
durationDuration editorAccepts day values; changes update the end date automatically
progressNumber (0-100)Accepts values 0-100; internally stored as 0.0-1.0
deadlineNone (read-only)Not editable inline; use the lightbox or Polarion directly
ownerNone (read-only)Not editable inline; use the lightbox to change assignments

Configure Grid Columns with Editors

To add columns to the Gantt grid, configure the Table section in the widget parameters:
  1. Open the Polarion page containing the Gantt widget
  2. Edit the widget properties
  3. Locate the Table configuration section
  4. Set the grid WIDTH parameter to control the overall grid panel width in pixels
  5. Configure the FIRST_COL settings for the task title column:
    • showId — display the work item ID prefix (e.g., WI-123:)
    • showTitle — display the work item title text
    • showIcon — display the work item type icon
  6. Add additional columns using the COLUMNS list
The exact widget parameter names for column configuration may vary by version. Check the widget parameter editor in your Polarion page for the available column settings.
diagram

Edit a Cell Value

  1. Ensure the Gantt is in Edit mode (click Edit in the toolbar)
  2. Click on an editable grid cell — the appropriate editor opens based on the column type
  3. Modify the value:
    • For text and number editors: type the new value
    • For date editors: select the date from the picker
    • For select editors: choose an option from the dropdown
  4. Press Enter or click outside the cell to confirm
  5. The updated value writes back to the task property defined by the editor’s mapTo field
When you edit a field in the grid and save via the lightbox, the new values propagate immediately to the visible columns without requiring a full Gantt reload.
The deadline and owner system columns do not have inline editors. To modify these fields, double-click the task bar to open the lightbox or edit the work item directly in Polarion.

Verify Your Configuration

After configuring columns with editors:
  1. Enter Edit mode in the Gantt
  2. Click on a start_date or duration cell
  3. You should now see the inline editor open with the current value pre-filled
  4. Change the value and press Enter — the task bar position should update immediately in the timeline

See Also

Source Code
  • prod-gantt-src/com.nextedy.polarion.gantt/src/com/nextedy/polarion/gantt/model/columns/Editor.java
  • prod-gantt-src/com.nextedy.polarion.gantt/src/com/nextedy/polarion/gantt/model/columns/Table.java
  • prod-gantt-src/com.nextedy.polarion.gantt.client/src/js/nextedy.js
  • prod-gantt-src/com.nextedy.polarion.gantt.client/cypress/e2e/Rewritten Tests/testGanttPlansInInline.cy.ts
  • prod-gantt-src/com.nextedy.polarion.gantt.client/src/js/config.js