ASPxClientGanttTaskEditDialogShowingEventArgs.hiddenFields Property
Specifies hidden fields in the edit dialog.
Declaration
hiddenFields: string[]
Property Value
Type | Description |
---|---|
string[] | An array of hidden fields. |
Remarks
<dx:ASPxGantt ID="Gantt" >
<ClientSideEvents TaskEditDialogShowing="onGanttTaskEditDialogShowing" ... />
</dx:ASPxGantt>
function onGanttTaskEditDialogShowing(s, e) {
...
e.values["Subject"]= "Custom dialog text";
e.readOnlyFields.push("Subject");
e.hiddenFields.push("PercentComplete");
}
Result:
Note that the hiddenFields parameter affects only task fields. Use the AllowTaskResourceUpdate property to hide the Resource Manager in the Task Details dialog.
Concepts
Online Demo
See Also