Skip to main content

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>

Run Demo: ASPxGantt - Chart Appearance Run Demo: MVCxGantt - Chart Appearance

See Also