A newer version of this page is available. Switch to the current version.

ASPxClientGantt.SetViewType(viewType) Method

Specifies the view type.

Declaration

SetViewType(
    viewType: ASPxClientGanttViewType
): void

Parameters

Name Type Description
viewType ASPxClientGanttViewType

The control’s view type.

Remarks

<script>
clientGantt.SetViewType(ASPxClientGanttViewType.Weeks);
</script>
...
<dx:ASPxGantt ID="Gantt" runat="server" ClientInstanceName="clientGantt" >
    //...
</dx:ASPxGantt>
See Also