PhpSpreadsheet icon indicating copy to clipboard operation
PhpSpreadsheet copied to clipboard

Add new feature for method `removeRow` of Worksheet object which skips checks to speedup execution

Open bees4ever opened this issue 9 months ago • 1 comments

Dear Team,

first of all. Thank you for this awesome library ❤ ! I like it.

I would like to add an feature request.

As shown in the image attached I execute the removeRow method of an worksheet object, like:$worksheet->removeRow($startEmptyIndex, 12836);

As discussed in other thread, the function internally run some check before deleting a cell / row.

Image

I would like to ask if you could add another parameter which calls something like: $integrityCheck. Default value is true and on case false all these integrity checks are skipped and the remove will just run. This could speed up a deletion of a big range.

What do you think?

Regards Ben

bees4ever avatar Feb 06 '25 20:02 bees4ever

Offhand, I would probably not want to provide our users a method to compromise the integrity of their spreadsheet. You refer to "other thread", but I'm not sure where to find that. Can you provide a link? Perhaps there is a persuasive argument there, but it will definitely be facing an uphill climb.

oleibman avatar Feb 13 '25 04:02 oleibman

No update in 5 months, closing.

oleibman avatar Jul 05 '25 05:07 oleibman