G2antt object
Tip The /COM object can be placed on a HTML page (with usage of the HTML object tag:  <object classid="clsid:...">)  using the class identifier: {CD481F4D-2D25-4759-803F-752C568F53B7}. The object's program identifier is: "Exontrol.G2antt". The /COM object module is: "ExG2antt.dll"
The Exontrol's ExG2antt component is our approach to create timeline charts (also known as Gantt charts). Gantt chart is a time-phased graphic display of activity durations. Activities are listed with other tabular information on the left side with time intervals over the bars. Activity durations are shown in the form of horizontal bars. The G2antt object supports the following properties and methods:

NameDescription
AllowChartScrollHeaderSpecifies whether the user can scroll the chart by clicking the chart's header and move the cursor to a new position.
AllowChartScrollPageSpecifies whether the chart's horizontal scroll bar includes buttons to scroll the chart page by page.
AllowGroupByIndicates whether the control supports Group-By view.
AllowSelectNothingSpecifies whether the current selection is erased, once the user clicks outside of the items section.
AnchorFromPointRetrieves the identifier of the anchor from point.
AntiAliasingSpecifies whether smoothing (antialiasing) is applied to lines, curves, edges of the objects in the control.
AppearanceRetrieves or sets the control's appearance.
ApplyFilterApplies the filter.
ASCIILowerSpecifies the set of lower characters.
ASCIIUpperSpecifies the set of upper characters.
AttachTemplateAttaches a script to the current object, including the events, from a string, file, a safe array of bytes.
AutoDragGets or sets a value that indicates the way the component supports the AutoDrag feature.
AutoEditSpecifies whether the cell is edited once that it is focused.
AutoSearchEnables or disables the auto search feature.
BackColorRetrieves or sets a value that indicates the control's background color.
BackColorAlternateSpecifies the background color used to display alternate items in the control.
BackColorHeaderSpecifies the header's background color.
BackColorLevelHeaderSpecifies the multiple levels header's background color.
BackColorLockRetrieves or sets a value that indicates the control's background color for the locked area.
BackColorSortBarRetrieves or sets a value that indicates the sort bar's background color.
BackColorSortBarCaptionReturns or sets a value that indicates the caption's background color in the control's sort bar.
BackgroundReturns or sets a value that indicates the background color for parts in the control.
BeginUpdateMaintains performance when items are added to the control one at a time. This method prevents the control from painting until the EndUpdate method is called.
BorderStyleRetrieves or sets the border style of the control.
CauseValidateValueReturns or sets a value that determines whether the ValidateValue event occurs before the user changes the cell's value.
ChartGets the chart object.
ChartOnLeftSpecifies whether the chart area is displayed on the left or right side of the component.
CheckImageRetrieves or sets a value that indicates the image used by cells of checkbox type.
ClearFilterClears the filter.
ColumnAutoResizeReturns or sets a value indicating whether the control will automatically size its visible columns to fit on the control's client width.
ColumnFromPointRetrieves the column from point.
ColumnsRetrieves the control's column collection.
ColumnsAllowSizingRetrieves or sets a value that indicates whether a user can resize columns at run-time.
ColumnsFloatBarSortOrderSpecifies the sorting order for the columns being shown in the control's columns floating panel.
ColumnsFloatBarVisibleRetrieves or sets a value that indicates whether the the columns float bar is visible or hidden.
ConditionalFormatsRetrieves the conditional formatting collection.
ContinueColumnScrollRetrieves or sets a value indicating whether the control will automatically scroll the visible columns by pixel or by column width.
CopyCopies the control's content to the clipboard, in the EMF format.
CopyToExports the control's view to an EMF file.
CountLockedColumnsRetrieves or sets a value indicating the number of locked columns. A locked column is not scrollable.
DataSourceRetrieves or sets a value that indicates the data source for object.
DebugDisplays debug information.
DefaultEditorOptionSpecifies a default option for an editor.
DefaultItemHeightRetrieves or sets a value that indicates the default item height.
DescriptionChanges descriptions for control objects.
DetectAddNewSpecifies whether the control detects when a new record is added to the bounded recordset.
DetectDeleteSpecifies whether the control detects when a record is deleted from the bounded recordset.
DiscardValidateValueCancels the current validation process, and restores back the modified cells.
DrawGridLinesRetrieves or sets a value that indicates whether the grid lines are visible or hidden.
DrawPartItemIndicates the handle of the item where the BeforeDrawPart / AfterDrawPart event occurs.
DrawPartKeySpecifies the key of the owner bar to be painted during BeforeDrawPart / AfterDrawPart event.
EditEdits the focused cell.
EditCloseCloses the current editor.
EditingSpecifies the window's handle of the built-in editor while the control is running in edit mode.
EditingTextSpecifies the caption of the editor during editing.
EnabledEnables or disables the control.
EndUpdateResumes painting the control after painting is suspended by the BeginUpdate method.
EnsureOnSortSpecifies whether the control ensures that the focused item fits the control's client area, when the user sorts the items.
EnsureVisibleColumnScrolls the control's content to ensure that the column fits the client area.
EventParamRetrieves or sets a value that indicates the current's event parameter.
ExecuteTemplateExecutes a template and returns the result.
ExpandOnDblClickSpecifies whether the item is expanded or collapsed if the user dbl clicks the item.
ExpandOnKeysSpecifies a value that indicates whether the control expands or collapses a node when user presses arrow keys.
ExpandOnSearchExpands items automatically while user types characters to search for a specific item.
ExportExports the control's data to a CSV format.
FilterBarBackColorSpecifies the background color of the control's filter bar.
FilterBarCaptionSpecifies the filter bar's caption.
FilterBarDropDownHeightSpecifies the height of the drop down filter window proportionally with the height of the control's list.
FilterBarFontRetrieves or sets the font for control's filter bar.
FilterBarForeColorSpecifies the foreground color of the control's filter bar.
FilterBarHeightSpecifies the height of the control's filter bar. If the value is less than 0, the filter bar is automatically resized to fit its description.
FilterBarPromptSpecifies the caption to be displayed when the filter pattern is missing.
FilterBarPromptColumnsSpecifies the list of columns to be used when filtering using the prompt.
FilterBarPromptPatternSpecifies the pattern for the filter prompt.
FilterBarPromptTypeSpecifies the type of the filter prompt.
FilterBarPromptVisibleShows or hides the filter prompt.
FilterCriteriaRetrieves or sets the filter criteria.
FilterIncludeSpecifies the items being included after the user applies the filter.
FocusColumnIndexSpecifies the index of focused column.
FontRetrieves or sets the control's font.
ForeColorRetrieves or sets a value that indicates the control's foreground color.
ForeColorHeaderSpecifies the header's foreground color.
ForeColorLockRetrieves or sets a value that indicates the control's foreground color for the locked area.
ForeColorSortBarRetrieves or sets a value that indicates the sort bar's foreground color.
FormatABCFormats the A,B,C values based on the giving expression and returns the result.
FormatAnchorSpecifies the visual effect for anchor elements in HTML captions.
FreezeEventsPrevents the control to fire any event.
FullRowSelectEnables full-row selection in the control.
GetItemsGets the collection of items into a safe array,
GridLineColorSpecifies the grid line color.
GridLineStyleSpecifies the style for gridlines in the list part of the control.
GroupForces the control to do a regrouping of the columns.
HasButtonsAdds a button to the left side of each parent item. The user can click the button to expand or collapse the child items as an alternative to double-clicking the parent item.
HasButtonsCustomSpecifies the index of icons for +/- signs when the HasButtons property is exCustom.
HasLinesEnhances the graphic representation of a tree control's hierarchy by drawing lines that link child items to their corresponding parent item.
HeaderAppearanceRetrieves or sets a value that indicates the header's appearance.
HeaderEnabledEnables or disables the control's header.
HeaderHeightRetrieves or sets a value indicating the control's header height.
HeaderSingleLineSpecifies whether the control resizes the columns header and wraps the captions in single or multiple lines.
HeaderVisibleRetrieves or sets a value that indicates whether the control's header is visible or hidden.
HideSelectionReturns a value that determines whether selected item appears highlighted when a control loses the focus.
HotBackColorRetrieves or sets a value that indicates the hot-tracking background color.
HotForeColorRetrieves or sets a value that indicates the hot-tracking foreground color.
HTMLPictureAdds or replaces a picture in HTML captions.
hWndRetrieves the control's window handle.
HyperLinkColorSpecifies the hyperlink color.
ImagesSets at runtime the control's image list. The Handle should be a handle to an Image List Control.
ImageSizeRetrieves or sets the size of icons the control displays.
IndentRetrieves or sets the amount, in pixels, that child items are indented relative to their parent items.
IsGroupingIndicates whether the control is grouping the items.
ItemFromPointRetrieves the item from point.
ItemsRetrieves the control's item collection.
ItemsAllowSizingRetrieves or sets a value that indicates whether a user can resize items at run-time.
LayoutSaves or loads the control's layout, such as positions of the columns, scroll position, filtering values.
LinesAtRootLink items at the root of the hierarchy.
LoadXMLLoads an XML document from the specified location, using MSXML parser.
MarkSearchColumnRetrieves or sets a value that indicates whether the searching column is marked or unmarked
MarkTooltipCellsRetrieves or sets a value that indicates wheter the control marks the cells that have tooltips.
MarkTooltipCellsImageSpecifies a value that indicates the index of icon being displayed in the cells that have tooltips.
OLEDragCauses a component to initiate an OLE drag/drop operation.
OLEDropModeReturns or sets how a target component handles drop operations
OnResizeControlSpecifies whether the list or the chart part is resized once the control is resized.
PictureRetrieves or sets a graphic to be displayed in the control.
PictureDisplayRetrieves or sets a value that indicates the way how the graphic is displayed on the control's background
PictureDisplayLevelHeaderRetrieves or sets a value that indicates the way how the graphic is displayed on the control's header background.
PictureLevelHeaderRetrieves or sets a graphic to be displayed in the control's header when multiple levels is on.
PutItemsAdds an array of integer, long, date, string, double, float, or variant arrays to the control.
PutResThe PutRes method synchronizes the resources of the source control with the target control based on the Items.ItemBar(exBarResources) property.
RadioImageRetrieves or sets a value that indicates the image used by cells of radio type.
RClickSelectRetrieves or sets a value that indicates whether an item is selected using right mouse button.
ReadOnlyRetrieves or sets a value that indicates whether the control is readonly.
RefreshRefreshes the control's content.
RemoveSelectionRemoves the selected links/bars from the chart if exists, else it removes the selected items (including the descendents)
ReplaceIconAdds a new icon, replaces an icon or clears the control's image list.
ResHandleThe ResHandle property indicates the handle to be used for ResHandle parameter of the PutRes method.
RightToLeftIndicates whether the component should draw right-to-left for RTL languages.
SaveXMLSaves the control's content as XML document to the specified location, using the MSXML parser.
ScrollScrolls the control's content.
ScrollBarsReturns or sets a value that determines whether the control has horizontal and/or vertical scroll bars.
ScrollButtonHeightSpecifies the height of the button in the vertical scrollbar.
ScrollButtonWidthSpecifies the width of the button in the horizontal scrollbar.
ScrollBySingleLineRetrieves or sets a value that indicates whether the control scrolls the lines to the end. If you have at least a cell that has SingleLine false, you have to check the ScrollBySingleLine property..
ScrollFontRetrieves or sets the scrollbar's font.
ScrollHeightSpecifies the height of the horizontal scrollbar.
ScrollOrderPartsSpecifies the order of the buttons in the scroll bar.
ScrollPartCaptionSpecifies the caption being displayed on the specified scroll part.
ScrollPartCaptionAlignmentSpecifies the alignment of the caption in the part of the scroll bar.
ScrollPartEnableIndicates whether the specified scroll part is enabled or disabled.
ScrollPartVisibleIndicates whether the specified scroll part is visible or hidden.
ScrollPosSpecifies the vertical/horizontal scroll position.
ScrollThumbSizeSpecifies the size of the thumb in the scrollbar.
ScrollToolTipSpecifies the tooltip being shown when the user moves the scroll box.
ScrollWidthSpecifies the width of the vertical scrollbar.
SearchColumnIndexRetrieves or sets a value indicating the column's index that is used for auto search feature.
SelBackColorRetrieves or sets a value that indicates the selection background color.
SelBackModeRetrieves or sets a value that indicates whether the selection is transparent or opaque.
SelectByDragSpecifies whether the user selects multiple items by dragging.
SelectColumnSpecifies whether the user selects cells only in SelectColumnIndex column, while FullRowSelect property is False.
SelectColumnIndexRetrieves or sets a value that indicates control column's index where the user is able to select an item. It has effect only for FullRowSelect = false.
SelectColumnInnerRetrieves or sets a value that indicates the index of the inner cell that's selected.
SelectOnReleaseIndicates whether the selection occurs when the user releases the mouse button.
SelForeColorRetrieves or sets a value that indicates the selection foreground color.
ShowFocusRectRetrieves or sets a value indicating whether the control draws a thin rectangle arround the focused item.
ShowImageListSpecifies whether the control's image list window is visible or hidden.
ShowLockedItemsRetrieves or sets a value that indicates whether the control displays the locked items.
ShowToolTipShows the specified tooltip at given position.
SingleSelRetrieves or sets a value that indicates whether the control supports single or multiple selection.
SingleSortReturns or sets a value that indicates whether the control supports sorting by single or multiple columns.
SortBarCaptionSpecifies the caption being displayed on the control's sort bar when the sort bar contains no columns.
SortBarColumnWidthSpecifies the maximum width a column can be in the control's sort bar.
SortBarHeightRetrieves or sets a value that indicates the height of the control's sort bar.
SortBarVisibleRetrieves or sets a value that indicates whether control's sort bar is visible or hidden.
SortOnClickRetrieves or sets a value that indicates whether the control sorts automatically the data when the user click on column's caption.
StatisticsGives statistics data of objects being hold by the control.
TemplateSpecifies the control's template.
TemplateDefDefines inside variables for the next Template/ExecuteTemplate call.
TemplatePutDefines inside variables for the next Template/ExecuteTemplate call.
TooltipCellsColorRetrieves or sets a value that indicates the color used to make the cells that have tooltips.
ToolTipDelaySpecifies the time in ms that passes before the ToolTip appears.
ToolTipFontRetrieves or sets the tooltip's font.
ToolTipMarginDefines the size of the control's tooltip margins.
ToolTipPopDelaySpecifies the period in ms of time the ToolTip remains visible if the mouse pointer is stationary within a control.
ToolTipWidthSpecifies a value that indicates the width of the tooltip window, in pixels.
TreeColumnIndexRetrieves or sets a value indicating the column's index where the hierarchy will be displayed.
UngroupUngroups the columns, if they have been previously grouped.
UseTabKeySpecifies whether the TAB key is used to change the searching column.
UseVisualThemeSpecifies whether the control uses the current visual theme to display certain UI parts.
VersionRetrieves the control's version.
VisualAppearanceRetrieves the control's appearance.
VisualDesignInvokes the control's VisualAppearance designer.
WordFromPointRetrieves the word from the cursor.