Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

GridSerializer.EnableGantt method

Configures the grid to display a Gantt chart in the right pane. In cases where a GridSerializer instance is populated by multiple GridSerializer objects over its lifetime, this function can only be called if ReserveGantt(String) or EnableGantt was called on the initial GridSerializer object.

Namespace:  Microsoft.SharePoint.JSGrid
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
public void EnableGantt(
	DateTime earliestBarBegin,
	DateTime latestBarEnd,
	GanttStyleInfo ganttStyleInfo,
	string ganttDependentsColumnName
)

Parameters

earliestBarBegin
Type: System.DateTime

Specifies the earliest begin date for any record. It is used to determine the initial scrollbar size.

latestBarEnd
Type: System.DateTime

Specifies the latest end date any for any record. It is used to determine the initial scrollbar size.

ganttStyleInfo
Type: Microsoft.SharePoint.JSGrid.GanttStyleInfo

Provides the GanttStyleInfo object to configure the appearance of the Gantt chart.

ganttDependentsColumnName
Type: System.String

Specifies the name of the data column in the external source table containing dependency information. Dependency information is used to represent task dependencies, which are displayed in the Gantt as arrows between Gantt bars.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.