Open the Lightbox
- Enter Edit mode by clicking the Edit button in the toolbar.
- Double-click any task bar in the Gantt chart. The lightbox opens as an inline editor overlay.
Edit Fields in the Lightbox
The lightbox supports the following field types:| Field Type | Input Control | Notes |
|---|---|---|
TEXT | Text input | Single-line string values |
INTEGER | Numeric input | Validates integer-only input |
FLOAT | Numeric input | Accepts decimal values |
DATE | Date picker | Day/month/year selectors |
DATETIME | Date + time picker | Includes time selector in hour-precision mode |
DURATION | Duration input | Polarion work-time notation (e.g., 2d 4h 30m) |
SELECT | Dropdown | Single enumeration value |
MULTISELECT | Multi-picker | Multiple enumeration values |
SINGLE_CHECKBOX | Checkbox | Boolean toggle |
RICH_TEXT | Text area | Multi-line text |
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.
Create a New Task via the Lightbox
- Click the ➕ Add Task dropdown in the toolbar.
- Select the work item type to create.
- The lightbox opens with default field values pre-populated from your configuration.
- Fill in the required fields and click Save.
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
- Configure Additional Fields in Create Dialog
- Track and Calculate Progress
- Use Inline Cell Editing
- Prevent Tasks from Moving Outside Parent Range
Sources
Sources
Source Code
prod-gantt-src/com.nextedy.polarion.gantt.client/src/js/lib/lightbox/util.jsprod-gantt-src/com.nextedy.polarion.gantt.client/src/js/lightbox.jsprod-gantt-src/com.nextedy.polarion.gantt.client/src/js/lib/lightbox/setup.jsprod-gantt-src/com.nextedy.polarion.gantt.client/cypress/e2e/ganttPreventMovingOutOfParent.cy.tsprod-gantt-src/com.nextedy.polarion.gantt.client/cypress/e2e/lightbox/extendDurationValues.cy.ts