Back to Devexpress

ASPxClientGantt Members

aspnet-js-aspxclientgantt-dot-underscore-members.md

latest13.1 KB
Original Source

ASPxClientGantt Members

A client-side equivalent of the ASPxGantt control.

Properties

NameDescription
nameGets the unique, hierarchically-qualified identifier for the control. Inherited from ASPxClientControlBase.

Methods

NameDescription
AdjustControlModifies the control’s size against the control’s container. Inherited from ASPxClientControl.
AdjustControls staticModifies the controls size within the specified container. Inherited from ASPxClientControl.
AssignResourceToTask(resourceKey, taskKey)Assigns a resource to a task.
Cast(obj) staticConverts the specified object to the current object’s type. Inherited from ASPxClientControl.
CollapseAllCollapses all tasks.
CollapseTask(key)Collapses the specified parent task.
DeleteDependency(key)Deletes a dependency.
DeleteResource(key)Deletes a resource.
DeleteTask(key)Deletes a task.
ExpandAllExpands all tasks.
ExpandTask(key)Expands the specified task.
ExportToPdf(options)Exports Gantt chart data to a PDF document.
GetClientVisibleObsolete. Returns a value specifying whether a control is displayed. Inherited from ASPxClientControlBase.
GetControlCollection staticReturns a collection of client web control objects. Inherited from ASPxClientControl.
GetDependencyData(key)Gets the dependency data.
GetFocusedTaskKeyGets the focused task’s key.
GetHeightReturns the control’s height. Inherited from ASPxClientControl.
GetMainElementReturns an HTML element that is the root of the control’s hierarchy. Inherited from ASPxClientControlBase.
GetParentControlReturns a client instance of the control that is the parent for a specified control. Inherited from ASPxClientControlBase.
GetResourceAssignmentData(key)Gets the resource assignment data.
GetResourceData(key)Gets the resource data.
GetTaskData(key)Gets the task data.
GetTaskResources(key)Gets resources assigned to a task.
GetVisibleReturns a value specifying whether a control is displayed. Inherited from ASPxClientControlBase.
GetVisibleDependencyKeysGets the keys of the visible dependencies.
GetVisibleResourceAssignmentKeysGets the keys of the visible resource assignments.
GetVisibleResourceKeysGets the keys of the visible resources.
GetVisibleTaskKeysGets the keys of the visible tasks.
GetWidthReturns the control’s width. Inherited from ASPxClientControl.
InCallbackReturns a value that determines whether a callback request sent by a web control is being currently processed on the server side. Inherited from ASPxClientControlBase.
InsertDependency(data)Inserts a new dependency.
InsertResource(data, taskKeys)Inserts a new resource.
InsertTask(data)Inserts a new task.
PerformCallback(args)Sends a callback to the server and raises the server-side CustomCallback event.
RefreshReloads data from the data source and redraws the Gantt layout.
ScrollToDate(date)Scrolls the Gantt chart to the specified date.
SendMessageToAssistiveTechnology(message)Specifies the text that Assistive Technologies (screen readers or braille display, for example) will provide to a user. Inherited from ASPxClientControlBase.
SetClientVisible(visible)Obsolete. Specifies whether a control is displayed. Inherited from ASPxClientControlBase.
SetEndDateRange(endDate)Sets the end date of the date interval in the Gantt chart.
SetFocusedTaskKey(key)Sets the focused task.
SetHeight(height)

Specifies the control’s height. Note that this method is not in effect for some controls.

Inherited from ASPxClientControl. | | SetStartDateRange(startDate) | Sets the start date of the date interval in the Gantt chart. | | SetTaskTitlePosition(position) | Sets the task’s title position. | | SetViewType(viewType) | Specifies the view type. | | SetVisible(visible) | Specifies whether a control is displayed. Inherited from ASPxClientControlBase. | | SetWidth(width) | Specifies the control’s width in pixels. Inherited from ASPxClientControl. | | ShowDependencies(value) | Shows or hides task dependencies. | | ShowResourceManagerDialog | Invokes the Resource Manager dialog. | | ShowResources(value) | Specifies whether the resources are visible in the Gantt. | | ShowTaskDetailsDialog(taskKey) | Invokes the Task Details dialog. | | UnassignAllResourcesFromTask(taskKey) | Unassigns resources from a task. | | UnassignResourceFromTask(resourceKey, taskKey) | Removes a resource from the task. | | UpdateTask(key, data) | Updates the task data. | | ZoomIn | Zooms in the Gantt chart. | | ZoomOut | Zooms out the Gantt chart. |

Events

NameDescription
BeginCallbackOccurs when a callback for server-side processing is initiated.
CallbackErrorFires on the client if any server error occurs during server-side processing of a callback sent by the ASPxClientGantt.
ContextMenuOccurs when a user right-clicks a task or dependency to open the context menu.
ContextMenuCustomizationOccurs before the built-in context menu is rendered.
CustomCommandEnables you to implement a custom command’s logic.
DependencyDeletedOccurs after a user deleted a dependency.
DependencyDeletingOccurs before a user deletes a dependency.
DependencyInsertedOccurs after a user inserted a dependency.
DependencyInsertingOccurs before a user inserts a dependency.
EndCallbackOccurs on the client side after a callback’s server-side processing has been completed.
EndCellEditingOccurs before a user finishes editing a cell.
FocusedTaskChangedOccurs after a task is focused.
FocusedTaskChangingOccurs before a task is focused.
InitOccurs on the client side after the control has been initialized. Inherited from ASPxClientControlBase.
ProgressTooltipShowingOccurs before the Gantt displays the tooltip when users changes the task’s progress in the UI.
ResourceAssignedOccurs after a user assigned a resource to a task.
ResourceAssigningOccurs before a user assigns a resource to a task.
ResourceDeletedOccurs after a user deleted a resource.
ResourceDeletingOccurs before a user deletes a resource.
ResourceInsertedOccurs after a user inserted a new resource.
ResourceInsertingOccurs before a user inserts a new resource.
ResourceManagerDialogShowingOccurs before the Resource Manager dialog is shown.
ResourceUnassignedOccurs after a user removed a resource from a task.
ResourceUnassigningOccurs before a user removes a resource from a task.
ScaleCellPreparedOccurs after a scale cell is prepared.
StartCellEditingOccurs before a user starts to edit a cell.
TaskClickOccurs when a user clicks a task.
TaskDblClickOccurs when a user double-clicks a task.
TaskDeletedOccurs after a user deleted a task.
TaskDeletingOccurs before a user deletes a task.
TaskEditDialogShowingOccurs before the edit dialog is shown.
TaskInsertedOccurs after a user inserted a task.
TaskInsertingOccurs before a user inserts a task.
TaskMovingOccurs before a user moves a task.
TaskShowingOccurs before a task is displayed.
TaskUpdatedOccurs after a user updated a task.
TaskUpdatingOccurs before a user updates a task.
TimeTooltipShowingOccurs before the Gantt displays the tooltip when users resizes or moves the task in the UI.
TooltipShowingOccurs before a tooltip is displayed.

See Also

ASPxClientGantt Class