jQWidgets Forums

jQuery UI Widgets Forums Grid Grid export throws an error

This topic contains 3 replies, has 2 voices, and was last updated by  Peter Stoev 11 years, 7 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • Grid export throws an error #32022

    andy8
    Participant

    Hi All,

    It is a very simple function, but it throws an error “0 is not a function” in the mootools-core.js, The code:

    $("#qqqq").click(function () {
    $("#search-res").jqxGrid('exportdata', 'xls', 'search-res');
    });

    The Grid is in place, all div IDs are correct and so on. What could be a problem here?

    Thanks

    Grid export throws an error #32023

    Peter Stoev
    Keymaster

    Hi andy8,

    mootools-core.js is not part of jQWidgets framework.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Grid export throws an error #32026

    andy8
    Participant

    I know that, but it looks as Grid export conflicts with other libraries. I have almost all jQWidgets js libraries loaded. Everything works perfectly fine Grid, dropdowns, sliders etc

    But with export functions I am havi ng a problem. If I load 2 export libraries at the end of other jQWidgets libs, it throws an exception “0 is not a function” in the mootools-core.js.

    But if I load these just after the jQWidgets core and data libraries, it throws another error:

    “Uncaught jqxCore: invalid parameter ”[exportdata, xls, search-res] doesn’t exists”

    Nothing to do with mootools.

    Grid export throws an error #32030

    Peter Stoev
    Keymaster

    Hi andy8,

    It looks like by seeing that error that the required Javascript files – jqxdata.export.js and jqxgrid.export.js are missing.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.