Bendrinti naudojant


AxHierarchicalGanttView

Applies To: Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

The AxHierarchicalGanttView component is used to display a Gantt chart in Enterprise Portal.

Tip

Monitor the amount of data that is being displayed in the AxHierarchicalGanttView. The performance can become reduced when a large amount of data is displayed in the control.

Properties

The AxHierarchicalGanttView component has the following properties:

Accessibility

Property

Description

AccessKey

The keyboard shortcut used by the control. Not used for Enterprise Portal.

Caption

The descriptive caption associated with the control.

CaptionAlign

The alignment of the caption.

RowHeaderColumn

The data source field corresponding to the column that is the row header.

TabIndex

The tab order of the control.

UseAccessibleHeader

Indicates that the control should use accessible header cells for its containing table control.

Appearance

Property

Description

BackColor

This property is inherited from the base control. It is not specific to Enterprise Portal.

BackImageUrl

This property is inherited from the base control. It is not specific to Enterprise Portal.

BorderColor

This property is inherited from the base control. It is not specific to Enterprise Portal.

BorderStyle

This property is inherited from the base control. It is not specific to Enterprise Portal.

BorderWidth

This property is inherited from the base control. It is not specific to Enterprise Portal.

CssClass

This property is inherited from the base control. It is not specific to Enterprise Portal.

EmptyDataText

This property is inherited from the base control. It is not specific to Enterprise Portal.

Font

This property is inherited from the base control. It is not specific to Enterprise Portal.

ForeColor

This property is inherited from the base control. It is not specific to Enterprise Portal.

GridLines

This property is inherited from the base control. It is not specific to Enterprise Portal.

ShowFooter

When set to true, the footer for the control is displayed.

ShowHeader

When set to true, the header for the control is displayed.

Behavior

Property

Description

AllowDelete

Specifies whether rows can be deleted from the control.

AllowDragAndDrop

Specifies whether drag-and-drop actions are allowed for the control.

AllowEdit

Specifies whether rows can be edited in the control.

AllowIndentation

Specifies whether rows can be indented in the control.

AllowInsert

Specifies whether rows can be added to the control.

AllowSelection

Specifies whether rows can be selected in the control.

AllowSorting

Specifies whether field headers can be used to sort the data in the control.

AutoGenerateColumns

Specifies whether the columns are generated automatically at runtime based on the associated data source.

AutoGenerateDeleteButton

Specifies whether the delete button is generated for the control.

AutoGenerateEditButton

Specifies whether the edit button is generated for the control.

AutoGenerateSelectButton

Specifies whether the select button is generated for the control.

ContextMenuName

The name of the Web Menu in the AOT that contains the menu items to be displayed for the context menu.

Enabled

Specifies whether the control is enabled.

EnableModelValidation

Specifies whether page validation will be performed after validation is done in the model.

EnableSortingAndPagingCallbacks

Specifies whether client script for sorting and paging should be rendered to browser clients that can support callbacks.

EnableTheming

Indicates whether the control can be themed.

EnableViewState

Specifies whether the control automatically saves its state for use in round-trips.

Filter

Not currently used.

FinishDateField

The name of the FinishDate data field in the dataset. This property is required.

HierarchyExpandAtLevelOnFirstLoad

Specifies the level of hierarchy to expand up to when the control first loads data.

MilestoneTypeField

The name of the milestone type data field in the dataset.

MilestoneTypeValue

The value for the milestone typed node in the dataset.

MinimumGridHeight

Specifies the minimum number of rows to display in the control.

SetCurrentRowOnSelection

Sets the current row in the data set when the user selects a row in the control.

ShowContextMenu

When set to true, a context menu will be displayed when the user right-clicks the selected row in the control.

ShowFilter

When set to true, the filter for the control is displayed.

ShowOnlyGridFieldsInFilter

When set to true, only fields with columns displayed in the control will be available to use for the filter.

SkinID

The SkinId of the control skin that provides the skin of the control.

StartDateField

The name of the StartDate data field in the dataset.

SummaryNodeTypeField

The name of the node type data field from the dataset.

SummaryNodeTypeValue

The value for the summary typed node in the dataset.

TitleField

The name of the title data field from the dataset.

ToolTip

Not used for Enterprise Portal.

UpdateOnPostBack

Indicates whether the component is updated when a postback occurs.

Visible

Indicates whether the control is visible and rendered.

Data

Property

Description

Expressions

The expressions that are bound to properties of the control.

DataKeyNames

A comma-separated list of the key fields in the data source.

DataMember

The table or view from the data set that is being used for the control.

DataSourceID

Specifies the AxDataSource component that will be used by the chart to access data.

ExpansionRowProperties

Property

Description

ExpandEditableRow

Specifies whether to expand the editable row when it is displayed.

ExpansionColumnIndexesHidden

A comma-separated list of integers representing which columns to hide from the expansion row. The value 1 indicates the first column.

ExpansionTooltip

The tooltip displayed on the Expansion row link.

GridColumnIndexesHidden

A comma-separated list of integers representing which columns to hide from the main grid. The value 1 indicates the first column.

ShowExpansion

Specifies whether an expansion is available for each row in the control. When set to true, the expansion is available.

Hierarchy

Property

Description

HierarchyIdFieldName

The name of the field that uniquely identifies a row.

HierarchyIndentationWidth

Specifies the amount to indent child rows.

HierarchyParentIdFieldName

The name of the field that identifies the parent of a row.

HierarchyTitleField

The name of the field whose column will be used to render indentation and expand/collapse buttons.

Layout

Property

Description

CellPadding

The padding within cells

CellSpacing

The spacing between cells.

Height

The height of the control.

HorizontalAlign

The horizontal alignment of the control.

Width

The width of the control.

Microsoft Dynamics AX

Property

Description

AllowPrompting

When set to true, a prompt will be shown to collect missing concrete types.

BodyHeight

Specifies the grid view body height. You should set this value when the body should have a fixed height.

Managed Web Content Item

Specifies the User Control to display that allows the user to select the record type for the new record they are creating. This occurs only when the new type is part of a table hierarchy. If this property is not specified, the default control to select the new type is displayed.

Misc

Property

Description

ID

The programmatic name of the control.

Columns

The set of columns to be shown in the control.

EditIndex

Specifies the index of the row that is being shown in edit mode.

SelectedIndex

Specifies the index of the row that is currently selected.

Paging

Property

Description

AllowPaging

Specifies whether paging functionality is enabled for the control.

PageIndex

Specifies the index of the current page.

PagerSettings

Controls the paging UI settings associated with the control.

PageSize

The number of rows from the data source to display per page.

Styles

These style properties are groups that contain multiple properties.

Property

Description

AlternatingRowStyle

The style applied to alternating rows.

DraggedRowCssClass

The style applied to rows being dragged.

EditRowStyle

The style applied to rows in edit mode.

EmptyDataRowStyle

The style applied to the row that contains the EmptyDataTemplate.

EmptyRowCssClass

Specifies the cascading style sheet class name to use for formatting an empty row.

FooterStyle

The style applied to the footer.

HeaderStyle

The style applied to the header.

PagerStyle

Controls the paging UI style for the control.

RowStyle

The style applied to rows.

SelectedRowStyle

The style applied to the selected row.

Events

The AxHierarchicalGanttView component has the events listed in the following table.

Event

Description

AxRowCreated

Occurs after a new row is created

AxRowCreating

Occurs just before a new row is created.

DataBinding

Occurs when the server control binds to a data source.

DataBound

Occurs after the server control binds to a data source.

Disposed

Occurs when a server control is released from memory, which is the last stage of the server control lifecycle when an ASP.NET page is requested.

Init

Occurs when the server control is initialized, which is the first step in its lifecycle.

Load

Occurs when the server control is loaded into the System.Web.UI.Page object.

PageIndexChanged

Occurs when the page index of the control has changed.

PageIndexChanging

Occurs just before the page index of the control has changed.

PreRender

Occurs after the System.Web.UI.Control object is loaded but prior to rendering.

RowCancelingEdit

Occurs when a Cancel event is generated within the control.

RowCollapsed

Occurs after a hierarchy row is collapsed.

RowCollapsing

Occurs just before a hierarchy row is collapsed.

RowCommand

Occurs when an event is generated within the control.

RowCreated

Occurs when a row is created in the control.

RowDataBound

Occurs after a row has been data-bound.

RowDeleted

Occurs after a Delete command is executed on the data source.

RowDeleting

Occurs before a Delete command is executed on the data source.

RowDropped

Occurs when the user dropped the row and changes have been made.

RowDropping

Occurs after the user has dropped the row, but changes have not yet been made.

RowEditing

Occurs when an Edit event is generated within the control.

RowExpanded

Occurs after a hierarchy row is expanded.

RowExpanding

Occurs just before a hierarchy row is expanded.

RowIndented

Occurs after a hierarchy row is indented.

RowIndenting

Occurs just before a hierarchy row is indented.

RowInserted

Occurs after an Insert command is executed on the data source.

RowInserting

Occurs just before an Insert command is executed on the data source.

RowOutdented

Occurs after a hierarchy row is outdented.

RowOutdenting

Occurs just before a hierarchy row is outdented.

RowUpdated

Occurs after an Update command is executed on the data source.

RowUpdating

Occurs just before an Update command is executed on the data source.

SelectedIndexChanged

Occurs when a new row is selected in the control, but after the selection is complete.

SelectedIndexChanging

Occurs when a new row is selected in the control, but just before the selection occurs.

Sorted

Occurs when a column is sorted in the control, but after the sort is complete.

Sorting

Occurs when a column is sorted in the control, but before the sort occurs.

Unload

Occurs when the server control is unloaded from memory.