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. Image for the cookie policy date
close icon

Gantt And Unobtrusive Support

Hi,
I am trying to hide a column  from the Gantt chart.
I am using your example and adding the Create event to hide columns from the object (I am not finding other methods.


The code is this

function onCreateGantt(args) {
     var gantObj = $("#ganttsample2").data("ejGantt");
     gantObj.hideColumn("Duration");
     //gantObj._$ejGantt("hideColumn", "Duration");
     var i = 0;
 }
If I use the Unobtrusive support, the method HideColumn and other .ejGantt cannot be found, while disabling it the code works and hide the column Duration.

There is a Workaround for this? The Unobtrusive is needed on my project.

   Thanks in advance

   Andrea Perazzolo



1 Reply

MK Mahalakshmi Karthikeyan Syncfusion Team April 16, 2015 01:04 PM UTC

Hi Andrea,

Thanks for using Syncfusion Product.

We have analyzed the reported issue with our sample. We unable able to reproduce the issue with our updated source. Can you please share us the version of the source you are using , it would be helpful for us to serve you better .We have prepared a sample based on this and you can find the sample under the below location.

Sample Link: http://www.syncfusion.com/downloads/support/forum/118848/GanttUnobrusiveMode1639215542.zip

If you still facing the issue please modify the above sample along with the replication procedure to reproduce the issue.

Regards,

Mahalakshmi K.


Loader.
Live Chat Icon For mobile
Up arrow icon