2

I'm working with the ExcelJS library to manipulate an Excel file in my React application. I have a template Excel file that already contains some auto filters applied to the rows

After I edit the contents of this Excel file, I proceed to download it. However, the cells with filters from the previous template are missing. I have tried reapplying the filters by setting them back to the columns, but I get the error: "The workbook cannot be opened or repaired by Microsoft Excel because it is corrupt." It seems like the existing filter properties are being overwritten, causing the issue. Do you have any approach or a library that can retain the Excel properties (like filters) during manipulation? enter image description here

enter image description here

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.