jQWidgets Forums

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Error when trying to export Error when trying to export #73536

    achirinos
    Participant

    Hi,

    let me try using jsfiddle!

    but check this out! when I set collapsedRecords to false on export settings it works ok! the error shows up when collapseRecords in export settings is set to true!!

    For more information I add the rows to the TreeGrid dynamically using the jqxTreeGrid(‘addRow’..) method!

    my datasource is set this way (added rows datafields aren’t the same as datafields in source):

    var source =
    {
    dataType: “json”,
    dataFields: [
    { name: ‘Id’, type: ‘string’ },
    { name: ‘Children’, type: ‘array’ }
    ],
    hierarchy:
    {
    root: ‘Children’
    },
    id: ‘Id’,
    localData: null
    };

    var dataAdapter = new $.jqx.dataAdapter(source);

    is this ok?

Viewing 1 post (of 1 total)