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

ASPxClientGantt.ShowResources(value) Method

Specifies whether the resources are visible in the Gantt.

Declaration

ShowResources(
    value: boolean
): void

Parameters

Name Type Description
value boolean

true, to show resources in the Gantt; otherwise, false.

Remarks

<script>
     function click(s, e) {
          // Call the ASPxClientGantt's ShowResources method
          clientGantt.ShowResources(false);
     }
</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