Skip to main content
All docs
V26.1
  • 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 - Chart Appearance Run Demo: MVCxGantt - Chart Appearance

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