Cannot read 'tagName' of undefined

I am trying to use the cell editing in a gantt chart (ej1). This is for a date and it displayed so. I put editType = 'datepickeredit' into the column definition and I get the above error. Tracking this I see:

     

In the console I cannot find u.get(0).tagName. Alos I'm not sure that line would be valid javaScript (end with a ,?)

1 Reply 1 reply marked as answer

PP Pooja Priya Krishna Moorthy Syncfusion Team November 11, 2020 10:17 AM UTC

Hi Martin, 
We are able to replicate this issue, when edit type is set as datepickeredit. This is not a proper value. We need to set the edit type as simply datepicker as like below code example. 

$("#GanttContainer").ejGantt({ 
  //... 
  load: function () { 
     this.getColumns()[2].editType = "datepicker" 
  }, 
}); 


Regards, 
Pooja K. 


Marked as answer
Loader.
Up arrow icon