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 11:12 AM UTC

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. 
 
Files 
Description/Usage 
ej.core.min.js 
It is referred always before using all the JS controls. 
ej.data.min.js 
Used to handle data operation and is used while binding data to the JS controls. 
ej.touch.min.js 
It is referred when using touch functionalities in Gantt. 
ej.draggable.min.js 
It is referred when using drag and drop in Gantt. 
ej.globalize.min.js 
It is referred when using localization in Gantt 
ej.gantt.min.js 
The Gantt’s main file. 
ej.scroller.min.js 
It is referred when scrolling is used in the Gantt. 
ej.button.min.js 
 
 
It is referred while enable the Editing feature in the Gantt. 
ej.dialog.min.js 
ej.datepicker.min.js 
ej.datetimepicker.min.js 
ej.dropdownlist.min.js 
ej.checkbox.min.js 
ej.editor.min.js 
ej.toolbar.min.js 
It is referred while enable the Toolbar feature in the Gantt. 
ej.tooltip.min.js 
It is referred when toolbar is enabled in Gantt. 
ej.tab.min.js 
It is referred when dialog is rendered in Gantt. 
ej.gridresize.min.js 
It is referred when using resize feature in Gantt 
ej.rte.min.js 
It is referred when while using the dialog with edit type as RTE in the Gantt. 
ej.treegrid.min.js 
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. 
 
Regards, 
Jesus Arockia Sankaran S 



MP Martin Pamplin February 11, 2020 12:43 PM UTC

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

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 15.4.0.17?

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

Thanks


JA Jesus Arockia Sankaran S Syncfusion Team February 11, 2020 02:02 PM UTC

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. 

Regards, 
Jesus Arockia Sankaran S 



MP Martin Pamplin February 12, 2020 09:53 AM UTC

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 03:42 PM UTC

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.  
   
Regards,  
Karthikeyan Raja 


Loader.
Up arrow icon