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