Back to Devexpress

ASPxClientGanttViewType Class

aspnet-js-aspxclientganttviewtype.md

latest1.2 KB
Original Source

ASPxClientGanttViewType Class

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

Declaration

ts
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

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

See Also

ASPxGantt - Overview

MVCxGantt - Overview

ASPxGantt - 'How To' Examples

MVCxGantt - 'How To' Examples

ASPxClientGanttViewType Members