Articles in this section
Category / Section

How to hide the over allocation indicator in resource view Gantt?

1 min read

In resource view jQuery Gantt we can hide the resource over allocation indicator lines by using create client-side event at initial load. The red indicator lines will appear across the tasks in resource allocation view in Gantt if more than one task assigned to a resource in the working time range. The following code example explains hiding the overallocation indicator lines in resource allocation view

<style>
    .customcolor {
        background: transparent;
    }
</style>
<script type="text/javascript">
    $("#GanttContainer").ejGantt({
        //…
        create: function () {
            $("#ganttViewTablebodyejGanttChartresourceGantt").find(".e-chartcell").find(".e-rangecontainer").find(".e-rg-rangdiv").addClass("customcolor");
        },
    });
</script>

The below screenshot depicts the above scenario for hiding the over allocation indicators.

Hiding overallocation indicator lines in resource allocation view.

You can find a sample for hiding the resource over allocation indicators here.

Conclusion

I hope you enjoyed learning about how to hide the over allocation indicator in resource view Gantt.

You can refer to our jQuery Gantt’s feature tour page to know about its other groundbreaking feature representations. You can also explore our jQuery Gantt documentation to understand how to present and manipulate data.

For current customers, you can check out jQuery components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our jQuery Gantt and other jQuery components.

If you have any queries or require clarifications, please let us know in comments below. You can also contact us through our support forumsDirect-Trac, or feedback portal. We are always happy to assist you!

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied