Skip to content

TypeError: Cannot read property 'v' of null #15

@ghost

Description

This is my solution that you can change in the library
On line 128 you should change the validation.

var cell = (data[R][C] && typeof data[R][C] == 'object' ? data[R][C] : { v: data[R][C] });
if (cell.v === null) continue;

instead of

var cell = (typeof data[R][C] == 'object' ? data[R][C] : { v: data[R][C] });
if (cell.v == null) continue;

because the error of a null cell value stop the execution process and does not generate the Excel file

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions