RadiantQ jQuery Gantt Package
Cleaning Up Src Folder
Previous Topic  Next Topic 

In the Getting Started sections, we had recommended to copy over the <install path>/Src folder into your project file. But, this folder does include a  lot of files that are not necessary for all projects.


These are the files you should decide whether or not to keep in your project.


1) Globalization Date files.


These files define date-time formats for specific cultures. 

The default date-time formats are defined in this file:

..\Src\Scripts\Utils\date.js


You can choose to delete everything or keep only some of the files inside this folder:

..\Src\Scripts\Utils\globalization



2) jquery.xml2json.js


This file is only needed if you are going to convert any data from XML to JSON.


3) jQuery files


By default Gantt SRC includes the jQuery 1.7, 1.8 ,1.9 and 2.0 files. You will only need to reference one of these, so you can remove the rest.


4) knockout js


If you are not using any KO binding in you project, you can remove the following files.


knockout-2.0.0.js

knockout-2.2.1.js

knockout-2.3.0.js


If you are using KO, refer only to one of the above files.


Include this file below as well if you you are referencing any one of the above.

knockout.mapping-latest.debug.js


5) jQuery-ui-themes


The gantt widget always needs the base(Src\Styles\jQuery-ui-themes\smoothness) CSS  files. So, don't delete this folder.


However, you can remove the rest of the sub-folders in the <Src\Styles\jQuery-ui-themes> folder, whichever themes you don't plan to use.


6) Sample level Script files 


html2canvas.js- used in Printing/Image export.


canvg.js - Used by the RadiantQ APIs that generate a gradient image dynamically during runtime (for use typically as background in task bars)


If you are not using a feature, you can remove the corresponding files.



© RadiantQ 2022. All Rights Reserved.