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