Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
15
Bundle all iggrid .js file into one file
posted

Hi,

We are using iggrid loader to load all the iggrid resources as follows.

$.ig.loader({
scriptPath: serverURL + "Scripts/infragistics/",
resources: "igGrid.*"
});

But we see that all the .js files are loaded one by one, causing a lot of HTTP requests.

Is there any way in which we can combine the below .js files into one file. Manually combining is not working.


We are using Infragistics version 13.1.20131.1012.

Thanks in Advance!

Parents
No Data
Reply
  • 365
    Offline posted

    Hello Wayne,

     

    Thank you for posting in our forum.

     

    The igLoader loads each file with a separate http request – just like you show on the screenshot, that’s why it is usually used for development purposes.

     

    Version 13.1 is not officially supported anymore, but if you upgrade and you don’t want to load separate scripts, you could use our script combiner. It allows you to select which Infragistics controls you are using, as well as their features - this way you download a custom build with the bundled scripts needed for your particular scenario. Just follow this link:

    https://www.igniteui.com/download

     

    In case you don’t want a custom build, then use the two pre-bundled javascript files from the product installation folder: infragistics.core.js and infragistics.lob.js – they combine all our controls.

     

    If you need any additional assistance, feel free to contact me.

     

     

    Best Regards,

    Vasil Pavlov

    Associate Software Developer

    Infragistics, Inc.

Children
No Data