FlexSheet breaks after trying to copy/paste the template row

Posted by: holly.anderson on 20 November 2017, 4:06 am EST

    • Post Options:
    • Link

    Posted 20 November 2017, 4:06 am EST

    Hello,

    I’ve noticed that if I set allowAddNew to true and try to copy/paste cells from the template row in a FlexSheet, an error occurs (“Cannot read property ‘dataItem’ of undefined”). It seems that in the GridPanel.prototype.getCellData function in wijmo.grid.js, var row = this._rows does not include the template row. So when row.dataItem is executed, an error is thrown. I believe it would be preferable for the code to handle this scenario instead of throwing an error and canceling the entire paste operation.

    Furthermore, starting in build 5.20172.359, this error breaks the FlexSheet so that the user cannot interact with it anymore (e.g. cells cannot be selected).

    Holly

  • Posted 20 November 2017, 10:27 pm EST

    Hi Holly,

    We are able to replicate the issue and it seems a bug. Hence this issue has been forwarded to the concerned team for further investigation with internal tracking id 289487.

    ~Manish

  • Posted 4 January 2018, 11:37 pm EST

    Is there any update on this issue?

  • Posted 7 January 2018, 3:19 pm EST

    Hi,

    This issue has been found fixed with pre-release build version 5.20173.401. If you would like to verify the issue, you may download the pre-release build for testing purpose.

    http://prerelease.componentone.com/wijmo5/

    This build is not recommended to use for production since this is under QA process for next release.

    ~Manish

Need extra support?

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

Learn More

Forum Channels