WjReportViewer - Export panel - Export format chang - TypeError

Posted by: mary431982 on 1 April 2026, 10:32 am EST

  • Posted 1 April 2026, 10:32 am EST

    Hello, we are using WjReportViewer;

    But recently when we open Export panel and try to change the format to for example Open XML Excel we get" TypeError: Cannot read properties of null (reading ‘defaultValue’), and we are unable to change the export format. That happens on tables with few rows, when we use it with table with more data - no errors. Also - if we use it with low data table and try to wait for minute or two before opening the export panel and clicking the Export format change - we still get error.

    How to fix it?

    Regards,

    Mary

  • Posted 2 April 2026, 2:04 am EST

    Hi Mary,

    Sorry, but we are unable to replicate the issue on our end, could you please share a small sample in which the issue can be replicated, so that we can investigate the issue further and assist you accordingly?

    You can also modify the following sample to replicate the issue and share it with us - https://jscodemine.mescius.io/share/zE1uQZl9RUGHRiYxDsg5_w/

    In case, if there is something we missed, please let us know.

    Regards

  • Posted 8 April 2026, 12:23 pm EST

    Hello,

    After a long investigation we realized that we have problem with report that has ESheet, and the one with paper size A4 - that one doesn’t have problem.

    The one with the ESheet - when we rotate it to be in the portrait mode - than we are able to change export format to smth other than default Adobe PDF :slight_smile:

    Regards,

    Mary

  • Posted 9 April 2026, 12:53 am EST

    Hi Mary,

    Thank you for sharing the additional information; however, we would still need a sample from your end, so that we can investigate the issue further and find an appropriate solution to fully resolve this issue.

    Could you please share a sample in which the issue can be replicated, if possible? Also, please confirm if you are referring to the Excel Sheet report (E-Sheet) or some other ESheet.

    Regards

  • Posted 9 April 2026, 5:10 am EST

    Hello,

    this is example of the report which doesn’t work well (as I said - when we try to click to change export format - we get error TypeError: Cannot read properties of null (reading ‘defaultValue’)

    at _ExportOptionEditor2._setOptionValue (es5-esm.js:14:73191)), and it refuses to select other export format.

    When we rotate the report - then we CAN change the export format but document is rotated :slight_smile:

    And also I have to say - on some computers we have this issue but on some we don’t and we can’t figure it out what is the difference between those.

    Is this example report enough?

    RptTest.zip

  • Posted 10 April 2026, 3:13 am EST

    Hi Mary,

    We tested the attached report on our end, but the issue is still not replicable on our side. Please find attached a video file for your reference that shows how we tested the report. It would be hard to comment on the root cause of the issue, why it appears in some machines only, as there could be other factors specific to the machine, OS, or browser that could cause the issue. Could you please share some more details that could be helpful to replicate the issue, if any, so that we can investigate the issue further?

    In case, if there is something we missed, please let us know.

    Regards

    ReportViewerTest.zip

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels