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

Which JavaScript files do I need for this?

I have built a Gantt using ej.web.all.js but want to streamline this by just using the required javascript pieces. For Kanban the "Getting Started" page listed these but not so for the Gantt chart. Is there somewhere I should look?

5 Replies

JA Jesus Arockia Sankaran S Syncfusion Team February 7, 2020 06:12 AM

Hi Martin, 
We have analyzed your query. In EJ1 Gantt, we have to refer only “ej.web.all.js” file. 

Please find the below details for EJ1-Gantt internal dependencies. 
It is referred always before using all the JS controls. 
Used to handle data operation and is used while binding data to the JS controls. 
It is referred when using touch functionalities in Gantt. 
It is referred when using drag and drop in Gantt. 
It is referred when using localization in Gantt 
The Gantt’s main file. 
It is referred when scrolling is used in the Gantt. 
It is referred while enable the Editing feature in the Gantt. 
It is referred while enable the Toolbar feature in the Gantt. 
It is referred when toolbar is enabled in Gantt. 
It is referred when dialog is rendered in Gantt. 
It is referred when using resize feature in Gantt 
It is referred when while using the dialog with edit type as RTE in the Gantt. 
It is referred to the Grid part in Gantt. 
Please refer the below documentation link for EJ2-Gantt dependencies. 

Kindly share us whether you are using EJ1 version of Gantt or EJ2 version. It would be helpful for us proceed further. 

Please get back to us, if you need any further assistance on this. 
Jesus Arockia Sankaran S 

MP Martin Pamplin February 11, 2020 07:43 AM

Thank you for this. We are using EJ1 ( I think ) version

I have no ej.gridresize.min.js file and my Gantt chart is not loading when I use the files listed, it looks like it's in an internal loop.

Can I get a copy of ej.gridresize for

I am under pressure to get this available this week for 15,000 users.


JA Jesus Arockia Sankaran S Syncfusion Team February 11, 2020 09:02 AM

Hi Martin, 

We can refer the ej.web.all.min script file to render Gantt as like below example. 

Using Custom Script Generator we can generate individual scripts and themes in required version. 

We have also generated Gantt individual file which carries all its dependencies including ej.gridresize and ej.treegrid files for your reference. 

We have also prepared a simple Gantt sample using this shared files. You can get the sample from below link. 
If your requirement varies from above solution kindly share us your exact requirement regarding usage of individual file. This would be helpful for us to proceed further. 

Jesus Arockia Sankaran S 

MP Martin Pamplin February 12, 2020 04:53 AM

I tried your combined js file, went in and built one myself, but I still get the same problem - Chrome just sits there using 70% of my CPU and never recovers.

KR Karthikeyan Raja Syncfusion Team February 13, 2020 10:42 AM

Hi Martin,  
We need some more details to investigate the issue in our end, so please share us below details,   
  1. Do you facing the same problem in our previously provided  sample we shared. If yes, please share us the video reproducing the reported problem.
  2. Can you please share us the screenshot, if you are facing any console error.
  3. Also, share us data source details and record count with us.
Kindly share us more details related to this query, based on that we will check and provide you a better solution quickly.  
Karthikeyan Raja 

Live Chat Icon For mobile
Up arrow icon