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

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.

Run Demo: ASPxGantt Features

<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