jQWidgets Forums

jQuery UI Widgets Forums Grid toString error when exporting grid

Tagged: ,

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 12 years, 5 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • toString error when exporting grid #11249

    mholsather
    Member

    I get the following error when exporting a grid with nested grids.
    Uncaught TypeError: Cannot call method ‘toString’ of undefined
    Any ideas? Is there a problem exporting nested grids?
    $(“#exportBtnId”).click(function () {
    $(“#jqxgrid”).jqxGrid(‘exportdata’, ‘xls’, ‘jqxGrid’);
    });

    /* Initialize the grid.*/
    $(“#jqxgrid”).jqxGrid({
    width: 1000,
    source: dataAdapter,
    editable: false,
    theme: theme,
    pageable: true,
    filterable: true,
    autoshowfiltericon: true,
    autoheight: true,
    sortable: true,
    altrows: true,
    enabletooltips: true,
    rowdetails: true,
    selectionmode: ‘singlerow’,
    editmode: ‘selectedcel’,
    initrowdetails: initrowdetails,
    cache:false,
    columns: [
    { text: ‘Id’, datafield: ‘id’, width: 100 },
    { text: ‘Name’, datafield: ‘stepDesc’, width: 250 },
    { text: ‘Step Type’, datafield: ‘stepTypeDetails_typeDesc’, width: 150 },
    { text: ‘Behavior Type’, datafield: ‘workFlowRoutingType_name’, width: 120 },
    { text: ‘Staging Queue’, datafield: ‘stagingQueue_sqDesc’, minwidth: 100 },
    ]

    });

    toString error when exporting grid #11253

    Peter Stoev
    Keymaster

    Hi mholsather,

    Could you please, send us a small sample which demonstrates the reported behavior?
    Do you use jQWidgets 2.5?
    Nested Grids are not exportable. The export is valid only for the Grid rows, not for the row details where the nested Grids reside.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.