Skip to main content
A newer version of this page is available. .

ASPxClientGanttViewType Class

Declare client constants that specify the Gantt’s view type.

Declaration

declare class ASPxClientGanttViewType

Remarks

Use the ASPxClientGanttViewType object values to set the SetViewType(viewType) method.

<script>
     function click(s, e) {
          clientGantt.SetViewType(ASPxClientGanttViewType.Weeks);
     }
</script>
...
<dx:ASPxGantt ID="Gantt" runat="server" ClientInstanceName="clientGantt" >
    //...
</dx:ASPxGantt>

<dx:ASPxButton ID="ASPxButton1" runat="server" Text="Clear" AutoPostBack="false">
     <ClientSideEvents Click="click" />
</dx:ASPxButton>
See Also