Skip to content

something I noticed with tables #4542

@luckdragon

Description

@luckdragon

so I'm generating a table almost identically to the sample, and when I open it in excel, it gives me the "Repaired Records: Table from /xl/tables/table1.xml part (Table)" error..

I let it repair, and saved as a different file.. then looked at the difference between the .xml files...

the one created by phpspreadsheet says:

<table xml:space="preserve" xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" id="1" name="Table1" displayName="RentalData" ref="A1:T137" headerRowCount="1" totalsRowCount="1">
<autoFilter ref="A1:T137"/>

the one created by excel says:

<table xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" id="1" name="Table1" displayName="RentalData" ref="A1:T137" totalsRowShown="0">
<autoFilter ref="A1:T137"/>

and when I manually edited the file and made the code changes, I don't get the error opening the file anymore.. is there anything that can be done about this?

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