ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Gantt Chart functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Remark: These functions are also available in prefix syntax (Gantt functions (prefix syntax)).
The following functions are used to handle a Gantt Chart column found in Table control (or in a TreeView Table control):
GanttAddHolidayDefines a new holiday period on a row in a Gantt Chart column of a Table or TreeView Table control.
GanttAddLinkCreates an "End to Start" link between two tasks displayed in a Gantt Chart column found in a Table (or TreeView Table) control.
GanttAddTaskAdds a task in a Gantt Chart column in a Table or TreeView Table control.
GanttChangeModeModifies the period (which means the number of days) displayed in a Gantt Chart column found in a Table (or TreeView Table) control.
GanttDateTimePositionConfigures the first day and the first time displayed in a Gantt Chart column (found in a Table or TreeView Table control).
GanttDeleteAllRemoves all tasks from a Gantt Chart column in a Table or TreeView Table control.
GanttDeleteLinkRemoves links from a Gantt Chart column in a Table or TreeView Table control.
GanttDeleteTaskRemoves a task from a Gantt Chart column in a Table or TreeView Table control.
GanttGetTaskGets a task using its identifier in a Gantt Chart column in a Table or TreeView Table control.
GanttListLinkLists the links found in a Gantt Chart column found in a Table (or TreeView Table) control.
GanttListTaskReturns:
  • the list of tasks between two given dates in a Gantt Chart column,
  • all the tasks in a Gantt Chart column,
  • a specific task (selected or hovered).
GanttOrganizeTaskReorganizes the tasks of a Gantt chart according to the constraints (dependencies and resources).
GanttTimeDisplayedDefines the time range displayed in a column of a Table or TreeView Table control of type Gantt Chart.
GanttWorkingHourOverwrites the working hours on a row in a Gantt Chart column of a Table (or TreeView Table) control.
GanttWorkingWeekDayIndicates if a day of the week is a working day in a Gantt Chart column in a Table or TreeView Table control.
Two types of variables can be used to handle the elements found in the Gantt charts:
GanttLinkThe GanttLink type is used to define the advanced characteristics of a link between two tasks of a Gantt chart.
GanttTaskThe GanttTask type is used to define the advanced characteristics of a task for a Gantt chart.
Related Examples:
WD Gantt Complete examples (WINDEV): WD Gantt
[ + ] The "WD Gantt" example presents an advanced use of the Gantt Chart control.
This example is used to create a Gantt chart with tasks, links, cumulative tasks and milestones.
The tasks can be edited in a specific window.
The created chart can be saved in a file and reloaded thereafter.
The Gantt control Unit examples (WINDEV): The Gantt control
[ + ] Using a Gantt Chart control
Minimum version required
  • Version 19
Comments
Click [Add] to post a comment

Last update: 06/22/2023

Send a report | Local help