ASPxClientGanttFocusedTaskChangingEventArgs.key Property
In This Article
Returns the task key.
#Declaration
TypeScript
key: any
#Property Value
Type | Description |
---|---|
any | The key. |
#Remarks
Web Forms:
<dx:ASPxGantt ID="Gantt" >
<ClientSideEvents FocusedTaskChanging="function(s, e) {
if (e.key == 0) {
//...
}
}" />
</dx:ASPxGantt>
MVC:
@Html.DevExpress().Gantt(settings => {
settings.Name = "gantt";
settings.ClientSideEvents.FocusedTaskChanging = "function (s, e) {
if (e.key == 0) {
//...
}
}";
...
}).Bind(
GanttDataProvider.Tasks, GanttDataProvider.Dependencies,
GanttDataProvider.Resources, GanttDataProvider.ResourceAssignments
).GetHtml()
See Also