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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback
Essential JS2

Syncfusion jQuery based widgets are no longer in active development. Switch to our pure JavaScript based next generation Essential JS 2 library.

How to hide the resourceGroup row progressbar in ej1 gantt control?

Thread ID:

Created:

Updated:

Platform:

Replies:

146454 Aug 5,2019 02:08 AM UTC Aug 6,2019 08:55 AM UTC jQuery 4
loading
Tags: ejGantt
xia
Asked On August 5, 2019 02:08 AM UTC

Hi syncfusion supporter

Is there any way to hide the resourceGroup row progressbar  in ej1 gantt control?



xia
Replied On August 5, 2019 02:14 AM UTC

Hi syncfusion supporter

Is there any way to hide the resourceGroup row progressbar  in ej1 gantt control?



Attach file is the screenshot that demonstrates what is my purpose.

Attachment: gantt_screenshot_ec27d63a.rar

Gurunathan A [Syncfusion]
Replied On August 5, 2019 10:38 AM UTC

Hi Xia Guangwei, 
Thanks for contacting syncfusion support. 
We can hide the group row task bar by using queryTaskbarInfo event, please check the below code snippet for details. 

[gantt.html] 

$("#resourceGantt").ejGantt({ 
     //… 
    queryTaskbarInfo:function(args){ 
       if(args.data.hasChildRecords) 
        $(args.taskbar).find(".e-parentContainer").css('display', 'none');      
    } 
}); 
We have also prepared a sample for this and please find the same below. 

 
Regards, 
Gurunathan  


xia
Replied On August 6, 2019 06:52 AM UTC

Hi Xia Guangwei, 
Thanks for contacting syncfusion support. 
We can hide the group row task bar by using queryTaskbarInfo event, please check the below code snippet for details. 

[gantt.html] 

$("#resourceGantt").ejGantt({ 
     //… 
    queryTaskbarInfo:function(args){ 
       if(args.data.hasChildRecords) 
        $(args.taskbar).find(".e-parentContainer").css('display', 'none');      
    } 
}); 
We have also prepared a sample for this and please find the same below. 

 
Regards, 
Gurunathan  


Thx Gurunathan, your solution works pretty fine.

Gurunathan A [Syncfusion]
Replied On August 6, 2019 08:55 AM UTC

 Hi Xia Guangwei, 
  
Welcome, we are happy to assist you.  
  
Regards, 
Gurunathan 


CONFIRMATION

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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon