Skip to main content

Open the Lightbox

  1. Enter Edit mode by clicking the Edit button in the toolbar.
  2. Double-click any task bar in the Gantt chart. The lightbox opens as an inline editor overlay.
The lightbox displays the core scheduling fields by default: start date, end date, duration, progress, and resource. Additional custom fields appear if you have configured them via Additional Dialog Fields in the Work Item Types Configuration.

Edit Fields in the Lightbox

The lightbox supports the following field types:
Field TypeInput ControlNotes
TEXTText inputSingle-line string values
INTEGERNumeric inputValidates integer-only input
FLOATNumeric inputAccepts decimal values
DATEDate pickerDay/month/year selectors
DATETIMEDate + time pickerIncludes time selector in hour-precision mode
DURATIONDuration inputPolarion work-time notation (e.g., 2d 4h 30m)
SELECTDropdownSingle enumeration value
MULTISELECTMulti-pickerMultiple enumeration values
SINGLE_CHECKBOXCheckboxBoolean toggle
RICH_TEXTText areaMulti-line text
The duration field accepts fractional input such as 1 1/2d 10h. The value is normalized and stored after save. Invalid formats trigger an inline “Invalid format” error message.

Change the Parent Task

The lightbox includes a parent task dropdown that lists eligible parent tasks based on your Work Item Types Configuration. Select a new parent to reparent the task directly from the editor. Selecting “no parent” detaches the task and makes it a root-level item.

Validate and Save

Click the 💾 Save button to persist your changes. The lightbox runs validation before saving:
  • Required fields marked with a red asterisk must be filled. The save button remains disabled until all required fields have values.
  • Date range validation ensures child task dates stay within the parent task’s date range. If violated, an inline error message displays the allowed parent date range.
  • Numeric validation shows an inline error for non-numeric input in integer and float fields.
If you set a duration or date range that places the task outside its parent’s boundaries, you will see the error message “cannot be scheduled outside” and the save button is disabled. Adjust the dates or remove the parent assignment to resolve this.

Create a New Task via the Lightbox

  1. Click the ➕ Add Task dropdown in the toolbar.
  2. Select the work item type to create.
  3. The lightbox opens with default field values pre-populated from your configuration.
  4. Fill in the required fields and click Save.
For new tasks, the save button is disabled until all required fields are completed. The delete button does not appear when creating a new task.

Delete a Task

When editing an existing task, the lightbox displays a Delete button. Clicking it removes the task after a confirmation prompt.
The delete behavior depends on your Gantt configuration. Verify whether deletion removes the work item itself or only the dependency link.

Verification

You should now see your changes reflected immediately on the Gantt chart after saving. Updated field values appear in the grid columns, and modified dates shift the task bar position on the timeline.

See Also

Source Code
  • prod-gantt-src/com.nextedy.polarion.gantt.client/src/js/lib/lightbox/util.js
  • prod-gantt-src/com.nextedy.polarion.gantt.client/src/js/lightbox.js
  • prod-gantt-src/com.nextedy.polarion.gantt.client/src/js/lib/lightbox/setup.js
  • prod-gantt-src/com.nextedy.polarion.gantt.client/cypress/e2e/ganttPreventMovingOutOfParent.cy.ts
  • prod-gantt-src/com.nextedy.polarion.gantt.client/cypress/e2e/lightbox/extendDurationValues.cy.ts