ASPxClientGantt.ResourceAssigned Event
Occurs after a user assigned a resource to a task.
Declaration
ResourceAssigned: ASPxClientEvent<ASPxClientGanttResourceAssignedEventHandler<ASPxClientGantt>>
Event Data
The ResourceAssigned event's data class is ASPxClientGanttResourceAssignedEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
key | Specifies the resource assignment key. |
values | Specifies the resource values. |
Remarks
Use the ResourceAssigned event to process data after a resource is assigned to the task.
<dx:ASPxGantt ID="Gantt" >
<ClientSideEvents ResourceAssigned="onGanttResourceAssigned" ... />
</dx:ASPxGantt>
function onGanttResourceAssigned(s, e) {
if (e.values["ResourceID"] == 1) {
//...
}
}
Concepts
See Also