We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Gantt Task - don't show progress

Thread ID:





120664 Oct 1,2015 07:28 AM Oct 7,2015 08:18 AM ASP.NET Web Forms 3
Tags: Gantt
Asked On October 1, 2015 07:28 AM

Is it possible for some specific tasks to don't show the task progress ? just render the bar, with no progress, or % text ?

Dinesh Kumar Nagarathinam [Syncfusion]
Replied On October 2, 2015 03:17 AM

Hi ShareValue,
Yes, it is possible to render a taskbar without progress bar for specific task by using “QueryTaskbarInfo” client side event.

Code Snippet:

<ej:Gantt ID="GanttControlDefault" runat="server" 




<script type="text/javascript">

             function queryTaskbarInfo(args) {                

                 if (args.data.taskName == "Child Task 1") {

                     var specificTaskbar = args.taskbar,

                         progressbar = $(specificTaskbar).find(".progressbar");

                     progressbar.css({ "display": "none" });




We have prepared a sample and please find it from the below location.

Sample: http://www.syncfusion.com/downloads/support/forum/120664/ze/Gantt2135321223
Dinesh kumar.N

Replied On October 6, 2015 12:29 PM

In my particular case, I have:

- Task A
         - Task A1
         - Task A2

I want to be able to ignore "Task A1" and "Task A2" execution progress (because is 0) and set "Task A" execution progress to a specific valu, ex: 100%. 
In this case the gantt is setting "Task A" % progress = 0, and it's not the behaviour that I want.

Is it possible to overcome this ?

Dinesh Kumar Nagarathinam [Syncfusion]
Replied On October 7, 2015 08:18 AM


It is not possible to render parent progress bar without the progress in its child taskbars and this is the behavior in Gantt. The ProgressBar in parent taskbar
depends upon its child taskbar progress. If you don’t want to display the child taskbar’s progress, you can set its style from display to none as suggested in
our previous update.


Dinesh Kumar N.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.