We use requirejs to manage our file downloads for our pages and when we attempt to run a simple igGrid and export it we get a null pointer exception. By debugging into your code I found the issue is because the object JSZip was not defined on the dom so the data object is never built. Some further digging shows that ignite creates this object when documents.core is loaded but if it is loaded using requirejs this object is never created or exposed.
Do you have a way to work around this and expose the JSZip object when used with requirejs.
Hello Kevin Regan,
Thank you for posting in our forums!
To use IgniteUI with requirejs, you can download a custom build that exports the AMD info. To download this build, go to https://igniteui.com/download and select the widgets you need in your application. And towards the bottom, near the "Download Custom Build" button, there is a checkbox labeled "Add AMD exports to the combined file (e.g., for use with RequireJS)". Make sure this is checked and click the button.
If you have any further questions or concerns with this, please let me know and I will be glad to help.
We are using a licensed copy of your product but this link sends me to the trial downloader? Will this still work with the licensed versions?
I actually wrote a wrapper around the code to expose the object so we are all set for now but I would like to see what your solution looks like.
There is a sign-in link under the download button at the top of the page that you can use to sign in using the same account you use on www.infragistics.com. After signing in, if you have a licensed version registered to your account you can choose the licensed version from the Version drop down. If you need to register a license key to your account, please do so here.
If you need anything else, please let me know.