ASPxClientGantt.SetViewType(viewType) Method
In This Article
Specifies the view type.
#Declaration
TypeScript
SetViewType(
viewType: ASPxClientGanttViewType
): void
#Parameters
Name | Type | Description |
---|---|---|
view |
ASPx |
The control’s view type. |
#Remarks
<script>
clientGantt.SetViewType(ASPxClientGanttViewType.Weeks);
</script>
...
<dx:ASPxGantt ID="Gantt" runat="server" ClientInstanceName="clientGantt" >
//...
</dx:ASPxGantt>
See Also