Table of Contents

TTMSFNCGanttChartAdapter Class

Base adapter that connects chart tasks to an external storage or data source.

API unit family: TMSFNCGanttChart Inherits from: TTMSFNCCustomComponent

Syntax

TTMSFNCGanttChartAdapter = class(TTMSFNCCustomComponent)

Properties

Name Description
Active Enables automatic synchronization between the adapter and the chart.
GanttChart Provides access to the chart instance that owns the adapter.
ManualSaveToDataBase Controls whether database saves must be triggered manually.

Methods

Name Description
AfterUpdateTask Runs adapter-specific work after a task update is applied.
DeleteTask Deletes a task from the adapter's backing store.
GetTasks Retrieves tasks from the adapter's backing store.
InsertTask Inserts a task into the adapter's backing store.
LoadTasks Loads task data into the associated chart.
SaveTasks Saves the current chart tasks through the adapter.
SelectTask Selects the matching task in the adapter's backing store.
UpdateTask Updates a task in the adapter's backing store.
UpdateTasks Synchronizes pending task changes through the adapter.