Hi,
Load event is blocking chart to load. when I am trying to console its params getting undefined.
and ganttpanel is working fine outside of load event, please check.
ganttPanel :-
Regards
Piyush
Support Forum
That's a lot of code that's not really relevant to the question. Please make an effort to post only what's relevant to what you're asking. Also, I'd review what's been done here, you're firing off async code in the middle of the rendering process which makes no sense (recommend you remove it).
eventRenderer: function(eventRec, resourceRec, templateData) {
// for Milestone
//console.log('eventRec', eventRec, 'resourceRec', resourceRec, 'templateData', templateData)
$timeout(function() {
var hideElement = document.querySelectorAll('.hide-element');
for (var i = 0; i < hideElement.length; i = i + 1) {
$(hideElement[i]).parent().css({
"display": "none"
})
}
}, 2000);