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
115
Very basic Client-side export to xls sample.
posted

Hi,

I have been trying to make IgniteUI Client-side export work since a few days, and I somehow keep running into various dependency issues. I have tried juggling with the dependencies resulting in a different dependency error. Can you please send out a working sample without using Infragistics.loader 

We use RequireJS and Jquery as a core module to our framework. We have the license and all the required source files from 16-2 version of IgniteUI.

We have referred to the following demo as well : http://www.igniteui.com/grid/export-feature-rich-grid

Just a small sample which includes all necessary files with their dependencies on each other would be of great help.

Thank you,

Ashrith

  • 16310
    Offline posted

    Hi,

    I have modified the sample you have referred to in order not to use the igLoader. This means all resources need to be loaded as one would do it generally. Please see the updated sample at http://jsfiddle.net/bxcnjh7u/2/

    All references you need are:

        <!-- Ignite UI Required Combined CSS Files -->
        <link href="http://cdn-na.infragistics.com/igniteui/2015.2/latest/css/themes/infragistics/infragistics.theme.css" rel="stylesheet" />
        <link href="http://cdn-na.infragistics.com/igniteui/2015.2/latest/css/structure/infragistics.css" rel="stylesheet" />

        <!-- Ignite UI Required Combined JavaScript Files -->
        <script src="http://cdn-na.infragistics.com/igniteui/2015.2/latest/js/infragistics.core.js"></script>
        <script src="http://cdn-na.infragistics.com/igniteui/2015.2/latest/js/infragistics.lob.js"></script>

    <!-- Files needed for exporting -->

    <script src="http://cdn-na.infragistics.com/igniteui/latest/js/modules/infragistics.documents.core.js"></script>
    <script src="http://cdn-na.infragistics.com/igniteui/latest/js/modules/infragistics.excel.js"></script>
    <script src="http://cdn-na.infragistics.com/igniteui/latest/js/modules/infragistics.gridexcelexporter.js"></script>

    <!--Third party libraries-->

    <script src="http://igniteui.com/js/external/FileSaver.js"></script>
    <script src="http://igniteui.com/js/external/Blob.js"></script>

    Please let me know if you have further questions, I will be glad to help.